[MOVED FROM BAD 115/134] update for allocation query changes

This commit is contained in:
Wim Taymans 2012-07-06 11:03:04 +02:00 committed by Sebastian Dröge
parent c76f4fe3ef
commit af3ddea42d

View file

@ -1234,7 +1234,7 @@ gst_vp8_enc_sink_event (GstVideoEncoder * benc, GstEvent * event)
static gboolean static gboolean
gst_vp8_enc_propose_allocation (GstVideoEncoder * encoder, GstQuery * query) gst_vp8_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);