From 2ed8b6728d089c2857cb859cec3fef35b320d934 Mon Sep 17 00:00:00 2001 From: Sebastian Dröge Date: Thu, 8 Oct 2009 13:54:45 +0200 Subject: ffmpegenc: Add a note to the buffer-size property description Setting it has no effect anymore and is deprecated. --- ext/ffmpeg/gstffmpegenc.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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, -- cgit v1.2.3