mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-21 13:36:39 +00:00
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'.
This commit is contained in:
parent
40a3686fe0
commit
31131add1f
2 changed files with 10 additions and 2 deletions
|
@ -1,3 +1,11 @@
|
||||||
|
2008-01-22 Edward Hervey <edward.hervey@collabora.co.uk>
|
||||||
|
|
||||||
|
* 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 <wim.taymans@collabora.co.uk>
|
2008-01-22 Wim Taymans <wim.taymans@collabora.co.uk>
|
||||||
|
|
||||||
* ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_setcaps),
|
* ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_setcaps),
|
||||||
|
|
|
@ -127,7 +127,7 @@ struct _GstFFMpegDecClassParams
|
||||||
|
|
||||||
#define DEFAULT_LOWRES 0
|
#define DEFAULT_LOWRES 0
|
||||||
#define DEFAULT_SKIPFRAME 0
|
#define DEFAULT_SKIPFRAME 0
|
||||||
#define DEFAULT_DIRECT_RENDERING TRUE
|
#define DEFAULT_DIRECT_RENDERING FALSE
|
||||||
|
|
||||||
enum
|
enum
|
||||||
{
|
{
|
||||||
|
@ -278,7 +278,7 @@ gst_ffmpegdec_class_init (GstFFMpegDecClass * klass)
|
||||||
"At which resolution to decode images",
|
"At which resolution to decode images",
|
||||||
GST_FFMPEGDEC_TYPE_LOWRES, 0, G_PARAM_READWRITE));
|
GST_FFMPEGDEC_TYPE_LOWRES, 0, G_PARAM_READWRITE));
|
||||||
g_object_class_install_property (gobject_class, PROP_DIRECT_RENDERING,
|
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",
|
"Enable direct rendering",
|
||||||
DEFAULT_DIRECT_RENDERING, G_PARAM_READWRITE));
|
DEFAULT_DIRECT_RENDERING, G_PARAM_READWRITE));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue