summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2013-07-13 12:24:31 +0100
committerCarl Hetherington <cth@carlh.net>2013-07-13 12:24:31 +0100
commitf09070bbc5e4e46f80f2897c5baf5934b1514b99 (patch)
treeffbe1a62fc47265e6934edd00d72af03f3113736 /src
parent1b3e9b80e4940ccf218062fd5dc907c6079ba249 (diff)
Write first_audio correctly.
Diffstat (limited to 'src')
-rw-r--r--src/lib/ffmpeg_content.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/ffmpeg_content.cc b/src/lib/ffmpeg_content.cc
index bacc3183c..487325d71 100644
--- 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"));
}