update for allocation query changes

This commit is contained in:
Wim Taymans 2012-07-06 11:03:19 +02:00
parent eaa4f8b045
commit ef07bb9d47

View file

@ -1548,7 +1548,7 @@ gst_x264_enc_finish (GstVideoEncoder * encoder)
static gboolean static gboolean
gst_x264_enc_propose_allocation (GstVideoEncoder * encoder, GstQuery * query) gst_x264_enc_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, return GST_VIDEO_ENCODER_CLASS (parent_class)->propose_allocation (encoder,
query); query);