summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Dröge <sebastian.droege@collabora.co.uk>2009-10-08 13:54:45 +0200
committerSebastian Dröge <sebastian.droege@collabora.co.uk>2009-10-08 13:54:45 +0200
commit2ed8b6728d089c2857cb859cec3fef35b320d934 (patch)
treeca47d7295c062821caad82400fa4ec5192f67b19
parent087582d7cd88e4644d22b41c57939e741ee18837 (diff)
ffmpegenc: Add a note to the buffer-size property description
Setting it has no effect anymore and is deprecated.
-rw-r--r--ext/ffmpeg/gstffmpegenc.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/ext/ffmpeg/gstffmpegenc.c b/ext/ffmpeg/gstffmpegenc.c
index aa26b40..cf0d4ac 100644
--- a/ext/ffmpeg/gstffmpegenc.c
+++ b/ext/ffmpeg/gstffmpegenc.c
@@ -187,9 +187,13 @@ gst_ffmpegenc_class_init (GstFFMpegEncClass * klass)
g_object_class_install_property (G_OBJECT_CLASS (klass), ARG_ME_METHOD,
g_param_spec_enum ("me-method", "ME Method", "Motion Estimation Method",
GST_TYPE_ME_METHOD, ME_EPZS, G_PARAM_READWRITE));
+
+ /* FIXME 0.11: Make this property read-only */
g_object_class_install_property (G_OBJECT_CLASS (klass), ARG_BUFSIZE,
g_param_spec_ulong ("buffer-size", "Buffer Size",
- "Size of the video buffers", 0, G_MAXULONG, 0, G_PARAM_READWRITE));
+ "Size of the video buffers. "
+ "Note: Setting this property has no effect "
+ "and is deprecated!", 0, G_MAXULONG, 0, G_PARAM_READWRITE));
g_object_class_install_property (G_OBJECT_CLASS (klass),
ARG_RTP_PAYLOAD_SIZE, g_param_spec_ulong ("rtp-payload-size",
"RTP Payload Size", "Target GOB length", 0, G_MAXULONG, 0,