summaryrefslogtreecommitdiffstats
path: root/gtk/src/main.c
diff options
context:
space:
mode:
authorjstebbins <[email protected]>2014-02-23 23:21:13 +0000
committerjstebbins <[email protected]>2014-02-23 23:21:13 +0000
commit7387f3e798334b15e2a5eb8d2273731f65184037 (patch)
treee96239af761c074be62186affa7c6809c553c7f9 /gtk/src/main.c
parentebd9533599ce8cedca9f11efde75f60ca5141b66 (diff)
LinGui: use hb_video_encoder_get_presets()
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6075 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'gtk/src/main.c')
-rw-r--r--gtk/src/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/src/main.c b/gtk/src/main.c
index 9232a1fc6..6a778c003 100644
--- a/gtk/src/main.c
+++ b/gtk/src/main.c
@@ -1002,7 +1002,7 @@ main(int argc, char *argv[])
GtkWidget *presetSlider = GHB_WIDGET(ud->builder, "x264PresetSlider");
const char * const *x264_presets;
int count = 0;
- x264_presets = hb_x264_presets();
+ x264_presets = hb_video_encoder_get_presets(HB_VCODEC_X264);
while (x264_presets && x264_presets[count]) count++;
gtk_range_set_range(GTK_RANGE(presetSlider), 0, count-1);