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)
signal_changed (FFmpegContentProperty::SUBTITLE_STREAMS);
signal_changed (FFmpegContentProperty::SUBTITLE_STREAM);
- signal_changed (FFmpegContentProperty::AUDIO_STREAMS);
+ signal_changed (AudioContentProperty::AUDIO_STREAMS);
}
string
public:
static int const SUBTITLE_STREAMS;
static int const SUBTITLE_STREAM;
- static int const AUDIO_STREAMS;
static int const FILTERS;
};
_show->Enable (sel.size() == 1);
_mapping->Enable (sel.size() == 1);
- film_content_changed (FFmpegContentProperty::AUDIO_STREAMS);
+ film_content_changed (AudioContentProperty::AUDIO_STREAMS);
}
void
DCPPanel::film_content_changed (int property)
{
- if (property == FFmpegContentProperty::AUDIO_STREAMS ||
+ if (property == AudioContentProperty::AUDIO_STREAMS ||
property == SubtitleContentProperty::USE_SUBTITLES ||
property == VideoContentProperty::VIDEO_SCALE) {
setup_dcp_name ();