update for query api changes

This commit is contained in:
Wim Taymans 2012-07-06 11:50:53 +02:00
parent 9baf930a89
commit 0fc94cd7b0
2 changed files with 2 additions and 2 deletions

View file

@ -1213,7 +1213,7 @@ gst_vp8_enc_sink_event (GstVideoEncoder * benc, GstEvent * event)
static gboolean
gst_vp8_enc_propose_allocation (GstVideoEncoder * encoder, GstQuery * query)
{
gst_query_add_allocation_meta (query, GST_VIDEO_META_API_TYPE, 0);
gst_query_add_allocation_meta (query, GST_VIDEO_META_API_TYPE, NULL);
return GST_VIDEO_ENCODER_CLASS (parent_class)->propose_allocation (encoder,
query);

View file

@ -1024,7 +1024,7 @@ gst_pvrvideosink_propose_allocation (GstBaseSink * bsink, GstQuery * query)
gst_query_set_allocation_params (query, size, 3, 0, 0, 0, pool);
/* we also support various metadata */
gst_query_add_allocation_meta (query, GST_VIDEO_CROP_META_API);
gst_query_add_allocation_meta (query, GST_VIDEO_CROP_META_API, NULL);
gst_object_unref (pool);