From 76f47979c18cb0bd9aea1530d8783b89a8639aac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Wed, 25 Apr 2012 12:39:48 +0200 Subject: [PATCH] videoencoder: Don't propose video-meta by default --- gst-libs/gst/video/gstvideoencoder.c | 2 -- gst-libs/gst/video/gstvideoencoder.h | 1 - 2 files changed, 3 deletions(-) diff --git a/gst-libs/gst/video/gstvideoencoder.c b/gst-libs/gst/video/gstvideoencoder.c index d1e0eec8b2..5d888c0fe5 100644 --- a/gst-libs/gst/video/gstvideoencoder.c +++ b/gst-libs/gst/video/gstvideoencoder.c @@ -711,8 +711,6 @@ static gboolean gst_video_encoder_propose_allocation_default (GstVideoEncoder * encoder, GstQuery * query) { - gst_query_add_allocation_meta (query, GST_VIDEO_META_API_TYPE); - return TRUE; } diff --git a/gst-libs/gst/video/gstvideoencoder.h b/gst-libs/gst/video/gstvideoencoder.h index f73c07ecf0..0b5842204d 100644 --- a/gst-libs/gst/video/gstvideoencoder.h +++ b/gst-libs/gst/video/gstvideoencoder.h @@ -215,7 +215,6 @@ struct _GstVideoEncoder * (i.e. not unref'ed). * @propose_allocation: Optional. * Propose buffer allocation parameters for upstream elements. - * The default implementation proposes the VIDEO_META. * * Subclasses can override any of the available virtual methods or not, as * needed. At minimum @handle_frame needs to be overridden, and @set_format