diff options
| author | Carl Hetherington <cth@carlh.net> | 2013-07-13 12:24:31 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2013-07-13 12:24:31 +0100 |
| commit | f09070bbc5e4e46f80f2897c5baf5934b1514b99 (patch) | |
| tree | ffbe1a62fc47265e6934edd00d72af03f3113736 /src/lib | |
| parent | 1b3e9b80e4940ccf218062fd5dc907c6079ba249 (diff) | |
Write first_audio correctly.
Diffstat (limited to 'src/lib')
| -rw-r--r-- | src/lib/ffmpeg_content.cc | 2 |
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")); } |
