From 31131add1f7211fd4bb71de69f64057bf81e5872 Mon Sep 17 00:00:00 2001 From: Edward Hervey Date: Tue, 22 Jan 2008 18:24:40 +0000 Subject: [PATCH] ext/ffmpeg/gstffmpegdec.c: Disable direct-rendering by default until buffer allocation works correctly. Original commit message from CVS: * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_class_init): Disable direct-rendering by default until buffer allocation works correctly. Rename the alias of the direct rendering property from 'direct' to 'direct-rendering'. --- ChangeLog | 8 ++++++++ ext/ffmpeg/gstffmpegdec.c | 4 ++-- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 7eb1aac2ae..06fa06c85f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +2008-01-22 Edward Hervey + + * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_class_init): + Disable direct-rendering by default until buffer allocation works + correctly. + Rename the alias of the direct rendering property from 'direct' to + 'direct-rendering'. + 2008-01-22 Wim Taymans * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_setcaps), diff --git a/ext/ffmpeg/gstffmpegdec.c b/ext/ffmpeg/gstffmpegdec.c index af24446ffd..32a59e7ba3 100644 --- a/ext/ffmpeg/gstffmpegdec.c +++ b/ext/ffmpeg/gstffmpegdec.c @@ -127,7 +127,7 @@ struct _GstFFMpegDecClassParams #define DEFAULT_LOWRES 0 #define DEFAULT_SKIPFRAME 0 -#define DEFAULT_DIRECT_RENDERING TRUE +#define DEFAULT_DIRECT_RENDERING FALSE enum { @@ -278,7 +278,7 @@ gst_ffmpegdec_class_init (GstFFMpegDecClass * klass) "At which resolution to decode images", GST_FFMPEGDEC_TYPE_LOWRES, 0, G_PARAM_READWRITE)); g_object_class_install_property (gobject_class, PROP_DIRECT_RENDERING, - g_param_spec_boolean ("direct", "Direct Rendering", + g_param_spec_boolean ("direct-rendering", "Direct Rendering", "Enable direct rendering", DEFAULT_DIRECT_RENDERING, G_PARAM_READWRITE)); }