int const FFmpegContentProperty::SUBTITLE_STREAMS = 100;
int const FFmpegContentProperty::SUBTITLE_STREAM = 101;
-int const FFmpegContentProperty::AUDIO_STREAMS = 102;
-int const FFmpegContentProperty::FILTERS = 103;
+int const FFmpegContentProperty::FILTERS = 102;
FFmpegContent::FFmpegContent (shared_ptr<const Film> f, boost::filesystem::path p)
: Content (f, p)
_audio_streams = examiner->audio_streams ();
if (!_audio_streams.empty ()) {
- _audio_streams.front()->mapping().make_default ();
+ AudioMapping m = _audio_streams.front()->mapping ();
+ film->make_audio_mapping_default (m);
+ _audio_streams.front()->set_mapping (m);
}
_first_video = examiner->first_video ();
signal_changed (FFmpegContentProperty::SUBTITLE_STREAMS);
signal_changed (FFmpegContentProperty::SUBTITLE_STREAM);
- signal_changed (FFmpegContentProperty::AUDIO_STREAMS);
+ signal_changed (AudioContentProperty::AUDIO_STREAMS);
}
string