summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--gtk/src/callbacks.c9
1 files changed, 1 insertions, 8 deletions
diff --git a/gtk/src/callbacks.c b/gtk/src/callbacks.c
index 3bc6c0d41..939a16134 100644
--- a/gtk/src/callbacks.c
+++ b/gtk/src/callbacks.c
@@ -535,19 +535,12 @@ get_extension(signal_user_data_t *ud)
{
int container;
const gchar *extension = "error";
- GValue *audio_list;
- GValue *subtitle_list;
container = ghb_settings_combo_int(ud->settings, "FileFormat");
if (container == HB_MUX_MP4)
{
extension = "mp4";
- audio_list = ghb_settings_get_value(ud->settings, "audio_list");
- subtitle_list = ghb_settings_get_value(ud->settings, "subtitle_list");
- if (ghb_ac3_in_audio_list(audio_list) ||
- ghb_soft_in_subtitle_list(subtitle_list) ||
- ghb_settings_get_boolean(ud->settings, "ChapterMarkers") ||
- ghb_settings_get_boolean(ud->settings, "UseM4v"))
+ if (ghb_settings_get_boolean(ud->settings, "UseM4v"))
{
extension = "m4v";
}