projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1b3e9b8
)
Write first_audio correctly.
author
Carl Hetherington
<cth@carlh.net>
Sat, 13 Jul 2013 11:24:31 +0000
(12:24 +0100)
committer
Carl Hetherington
<cth@carlh.net>
Sat, 13 Jul 2013 11:24:31 +0000
(12:24 +0100)
src/lib/ffmpeg_content.cc
patch
|
blob
|
history
diff --git
a/src/lib/ffmpeg_content.cc
b/src/lib/ffmpeg_content.cc
index bacc3183cafe909a459c2f213737fcbdbaf8a7f1..487325d71b152245af66534e19537812bae950bd 100644
(file)
--- a/
src/lib/ffmpeg_content.cc
+++ b/
src/lib/ffmpeg_content.cc
@@
-311,7
+311,7
@@
FFmpegAudioStream::as_xml (xmlpp::Node* root) const
root->add_child("FrameRate")->add_child_text (lexical_cast<string> (frame_rate));
root->add_child("Channels")->add_child_text (lexical_cast<string> (channels));
if (first_audio) {
- root->add_child("FirstAudio")->add_child_text (lexical_cast<string> (first_audio));
+ root->add_child("FirstAudio")->add_child_text (lexical_cast<string> (first_audio
.get ()
));
}
mapping.as_xml (root->add_child("Mapping"));
}