summaryrefslogtreecommitdiffstats
path: root/gtk/src/audiohandler.c
diff options
context:
space:
mode:
authorjstebbins <[email protected]>2009-06-25 18:54:30 +0000
committerjstebbins <[email protected]>2009-06-25 18:54:30 +0000
commitb463c8dfe181db0399077ea972fb4be30cba597d (patch)
treeb7db4eaaa439da257c2fbacfcf05aa6dfebf84f9 /gtk/src/audiohandler.c
parent869360c5d7e6c8d62f8664ac08b7de5f4788ebc6 (diff)
LinGui: add preference option for iPod/iTunes friendly m4v extension
remove explicit m4v choice from Format combo (since it's not a separate format) git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2622 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'gtk/src/audiohandler.c')
-rw-r--r--gtk/src/audiohandler.c15
1 files changed, 1 insertions, 14 deletions
diff --git a/gtk/src/audiohandler.c b/gtk/src/audiohandler.c
index 1638e0a27..4a6c77fb6 100644
--- a/gtk/src/audiohandler.c
+++ b/gtk/src/audiohandler.c
@@ -345,20 +345,7 @@ audio_codec_changed_cb(GtkWidget *widget, signal_user_data_t *ud)
ghb_widget_to_setting(asettings, widget);
audio_list_refresh_selected(ud);
}
-
- const GValue *audio_list;
- audio_list = ghb_settings_get_value(ud->settings, "audio_list");
- if (ghb_ac3_in_audio_list (audio_list))
- {
- gchar *container;
-
- container = ghb_settings_get_string(ud->settings, "FileFormat");
- if (strcmp(container, "mp4") == 0)
- {
- ghb_ui_update(ud, "FileFormat", ghb_string_value("m4v"));
- }
- g_free(container);
- }
+ ghb_update_destination_extension(ud);
ghb_live_reset(ud);
}