summaryrefslogtreecommitdiffstats
path: root/gtk/src/hb-backend.c
diff options
context:
space:
mode:
authorjstebbins <[email protected]>2008-09-24 20:45:35 +0000
committerjstebbins <[email protected]>2008-09-24 20:45:35 +0000
commitba295bc18bec81600913c056a8dc31ec26702dd2 (patch)
tree2ac5f2f645be86fa5da7cec7a681158750a997d6 /gtk/src/hb-backend.c
parentf64be95d8eeeef3d6d84469df557836dd86192f0 (diff)
LinGui: fix my misunderstanding of faac bitrate capabilities.
I wasn't allowing > 160kbps even for 6ch. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1759 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'gtk/src/hb-backend.c')
-rw-r--r--gtk/src/hb-backend.c18
1 files changed, 3 insertions, 15 deletions
diff --git a/gtk/src/hb-backend.c b/gtk/src/hb-backend.c
index 3959dce89..f9112e3d4 100644
--- a/gtk/src/hb-backend.c
+++ b/gtk/src/hb-backend.c
@@ -1886,29 +1886,17 @@ audio_bitrate_opts_clean(GtkBuilder *builder, const gchar *name, gint last_rate)
else if (ivalue > last)
{
ii++;
- done = !gtk_list_store_remove(store, &iter);
+ gtk_list_store_set(store, &iter, 1, FALSE, -1);
+ done = !gtk_tree_model_iter_next (GTK_TREE_MODEL(store), &iter);
}
else
{
ii++;
+ gtk_list_store_set(store, &iter, 1, TRUE, -1);
done = !gtk_tree_model_iter_next (GTK_TREE_MODEL(store), &iter);
}
} while (!done);
}
- for (; ii < hb_audio_bitrates_count; ii++)
- {
- if (hb_audio_bitrates[ii].rate <= last)
- {
- gtk_list_store_append(store, &iter);
- gtk_list_store_set(store, &iter,
- 0, hb_audio_bitrates[ii].string,
- 1, TRUE,
- 2, hb_audio_bitrates[ii].string,
- 3, hb_audio_bitrates[ii].rate,
- 4, hb_audio_bitrates[ii].string,
- -1);
- }
- }
}
static void