summaryrefslogtreecommitdiff
path: root/src/lib/ffmpeg_content.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/ffmpeg_content.cc')
-rw-r--r--src/lib/ffmpeg_content.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/lib/ffmpeg_content.cc b/src/lib/ffmpeg_content.cc
index fa2671b36..eab110236 100644
--- a/src/lib/ffmpeg_content.cc
+++ b/src/lib/ffmpeg_content.cc
@@ -173,7 +173,9 @@ FFmpegContent::examine (shared_ptr<Job> job)
_audio_streams = examiner->audio_streams ();
if (!_audio_streams.empty ()) {
- _audio_streams.front()->mapping().make_default ();
+ AudioMapping m = _audio_streams.front()->mapping ();
+ m.make_default ();
+ _audio_streams.front()->set_mapping (m);
}
_first_video = examiner->first_video ();