mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-03-28 11:55:39 +00:00
update for query api changes
This commit is contained in:
parent
9baf930a89
commit
0fc94cd7b0
2 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||
|
|
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in a new issue