checked_set (_standard, _film->interop() ? 1 : 0);
setup_dcp_name ();
break;
+ case Film::AUDIO_PROCESSOR:
+ if (_film->audio_processor ()) {
+ checked_set (_audio_processor, _film->audio_processor()->id());
+ } else {
+ checked_set (_audio_processor, 0);
+ }
+ break;
default:
break;
}
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 ();
film_changed (Film::SEQUENCE_VIDEO);
film_changed (Film::THREE_D);
film_changed (Film::INTEROP);
+ film_changed (Film::AUDIO_PROCESSOR);
}
void
_audio_channels->Append (wxString::Format ("%d", i));
}
grid->Add (_audio_channels, wxGBPosition (r, 1));
+ ++r;
add_label_to_grid_bag_sizer (grid, panel, _("Processor"), true, wxGBPosition (r, 0));
_audio_processor = new wxChoice (panel, wxID_ANY);