diff options
author | jstebbins <[email protected]> | 2011-10-28 18:35:38 +0000 |
---|---|---|
committer | jstebbins <[email protected]> | 2011-10-28 18:35:38 +0000 |
commit | 4b58908059946ba68bff5432621269c51be3967f (patch) | |
tree | 01ca268ab6388eab7aca461585ef6ac76c6b7980 /gtk/src | |
parent | b466204358985f2f63083e6b4f79cb40c614e1f8 (diff) |
LinGui: fix problem saving flac audio in preset
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4325 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'gtk/src')
-rw-r--r-- | gtk/src/presets.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/gtk/src/presets.c b/gtk/src/presets.c index 9f83f6d88..70b23ed6b 100644 --- a/gtk/src/presets.c +++ b/gtk/src/presets.c @@ -2019,6 +2019,7 @@ static value_map_t acodec_xlat[] = {"Auto Passthru", "copy"}, {"Auto Passthru", "auto"}, {"MP3 (lame)", "lame"}, + {"FLAC (ffmpeg)", "ffflac"}, {"Vorbis (vorbis)", "vorbis"}, {NULL,NULL} }; @@ -2409,7 +2410,8 @@ import_value_xlat2( str = ghb_value_string(mac_val); for (ii = 0; value_map[ii].mac_val; ii++) { - if (strcmp(str, value_map[ii].mac_val) == 0) + if (strcmp(str, value_map[ii].mac_val) == 0 || + strcmp(str, value_map[ii].lin_val) == 0) { sval = ghb_string_value_new(value_map[ii].lin_val); g_free(str); @@ -2437,7 +2439,8 @@ import_value_xlat2( str = ghb_value_string(mac_val); for (ii = 0; value_map[ii].mac_val; ii++) { - if (strcmp(str, value_map[ii].mac_val) == 0) + if (strcmp(str, value_map[ii].mac_val) == 0 || + strcmp(str, value_map[ii].lin_val) == 0) { sval = ghb_string_value_new(value_map[ii].lin_val); g_free(str); |