summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjstebbins <[email protected]>2011-01-29 21:48:01 +0000
committerjstebbins <[email protected]>2011-01-29 21:48:01 +0000
commite9b451617fe690327d361caf7e9d0976fda45910 (patch)
tree4f00f2c19f0781931a3c437fd933b1b52c7ca126
parentc000c50bbcf57320a56a3d923ffba1b1c5849cb1 (diff)
LinGui: remove automatic m4v extension substitution
Preference option now forces either mp4 or m4v. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3773 b64f7644-9d1e-0410-96f1-a4d463321fa5
-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";
}