Add language to audio content and use it instead of the general metadata.
[dcpomatic.git] / src / wx / dcp_panel.cc
index d098c5c950e975319f79950b5f87d195efbfc56b..8501eae9ce8b62909297f7b0c7a4e61d6e4976df 100644 (file)
@@ -381,7 +381,6 @@ DCPPanel::film_changed (Film::Property p)
                break;
        }
        case Film::Property::ISDCF_METADATA:
-       case Film::Property::SUBTITLE_LANGUAGES:
                setup_dcp_name ();
                break;
        case Film::Property::VIDEO_FRAME_RATE:
@@ -454,6 +453,7 @@ void
 DCPPanel::film_content_changed (int property)
 {
        if (property == AudioContentProperty::STREAMS ||
+           property == AudioContentProperty::LANGUAGE ||
            property == TextContentProperty::USE ||
            property == TextContentProperty::BURN ||
            property == TextContentProperty::LANGUAGE ||