update for allocation query changes

This commit is contained in:
Wim Taymans 2012-07-06 11:03:30 +02:00
parent ab7b7cbff3
commit 3ae9eb158c

View file

@ -630,7 +630,7 @@ static gboolean
gst_ffmpegvidenc_propose_allocation (GstVideoEncoder * encoder,
GstQuery * query)
{
gst_query_add_allocation_meta (query, GST_VIDEO_META_API_TYPE);
gst_query_add_allocation_meta (query, GST_VIDEO_META_API_TYPE, 0);
return GST_VIDEO_ENCODER_CLASS (parent_class)->propose_allocation (encoder,
query);