summaryrefslogtreecommitdiffstats
path: root/gtk
diff options
context:
space:
mode:
authorjstebbins <[email protected]>2014-04-15 18:42:17 +0000
committerjstebbins <[email protected]>2014-04-15 18:42:17 +0000
commitc6c85528383812a0d11c8ce035b1584f35624f7c (patch)
tree30409e8e361022168d608cda17bc1abe1b2c515e /gtk
parentc973315226c1009f2cadc8a14e5219c1ef5d69c2 (diff)
Add VP8 support
Thanks to Matthew Harvey for this patch git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6165 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'gtk')
-rw-r--r--gtk/configure.ac2
-rw-r--r--gtk/src/callbacks.c1
-rw-r--r--gtk/src/hb-backend.c1
3 files changed, 3 insertions, 1 deletions
diff --git a/gtk/configure.ac b/gtk/configure.ac
index 6d0ecfce8..52da947b0 100644
--- a/gtk/configure.ac
+++ b/gtk/configure.ac
@@ -171,7 +171,7 @@ fi
GHB_TOOLS_CFLAGS=`$BUILD_PKG_CONFIG --cflags glib-2.0 gdk-pixbuf-2.0`
GHB_TOOLS_LIBS=`$BUILD_PKG_CONFIG --libs glib-2.0 gdk-pixbuf-2.0`
-HB_LIBS="-lhandbrake -lavresample -lavformat -lavcodec -lavutil -ldvdnav -ldvdread -lmp3lame -lvorbis -lvorbisenc -logg -lsamplerate -lx264 -lswscale -ltheoraenc -ltheoradec -lz -lbz2 -lpthread -lbluray -lass -lfontconfig -lfreetype -lxml2"
+HB_LIBS="-lhandbrake -lavresample -lavformat -lavcodec -lavutil -ldvdnav -ldvdread -lmp3lame -lvorbis -lvorbisenc -logg -lsamplerate -lx264 -lswscale -ltheoraenc -ltheoradec -lvpx -lz -lbz2 -lpthread -lbluray -lass -lfontconfig -lfreetype -lxml2"
case $host in
*-*-mingw*)
diff --git a/gtk/src/callbacks.c b/gtk/src/callbacks.c
index 4b4e076a0..4c77c1670 100644
--- a/gtk/src/callbacks.c
+++ b/gtk/src/callbacks.c
@@ -4892,6 +4892,7 @@ format_vquality_cb(GtkScale *scale, gdouble val, signal_user_data_t *ud)
{
case HB_VCODEC_FFMPEG_MPEG4:
case HB_VCODEC_FFMPEG_MPEG2:
+ case HB_VCODEC_FFMPEG_VP8:
case HB_VCODEC_THEORA:
{
return g_strdup_printf("%s: %d", vqname, (int)val);
diff --git a/gtk/src/hb-backend.c b/gtk/src/hb-backend.c
index 737814c5d..b54c9fc32 100644
--- a/gtk/src/hb-backend.c
+++ b/gtk/src/hb-backend.c
@@ -4234,6 +4234,7 @@ ghb_validate_vquality(GValue *settings)
} break;
case HB_VCODEC_THEORA:
+ case HB_VCODEC_FFMPEG_VP8:
{
min = 0;
max = 63;