mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-06-05 06:58:56 +00:00
update for query api changes
This commit is contained in:
parent
177fd005ab
commit
53fc1f3fca
5 changed files with 7 additions and 7 deletions
|
@ -1041,7 +1041,7 @@ theora_enc_finish (GstVideoEncoder * benc)
|
||||||
static gboolean
|
static gboolean
|
||||||
theora_enc_propose_allocation (GstVideoEncoder * encoder, GstQuery * query)
|
theora_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,
|
return GST_VIDEO_ENCODER_CLASS (parent_class)->propose_allocation (encoder,
|
||||||
query);
|
query);
|
||||||
|
|
|
@ -98,7 +98,7 @@ gst_video_filter_propose_allocation (GstBaseTransform * trans,
|
||||||
gst_query_add_allocation_pool (query, pool, size, 0, 0);
|
gst_query_add_allocation_pool (query, pool, size, 0, 0);
|
||||||
gst_object_unref (pool);
|
gst_object_unref (pool);
|
||||||
|
|
||||||
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 TRUE;
|
return TRUE;
|
||||||
|
|
||||||
|
|
|
@ -160,7 +160,7 @@ gst_video_convert_fixate_caps (GstBaseTransform * trans,
|
||||||
|
|
||||||
static gboolean
|
static gboolean
|
||||||
gst_video_convert_filter_meta (GstBaseTransform * trans, GstQuery * query,
|
gst_video_convert_filter_meta (GstBaseTransform * trans, GstQuery * query,
|
||||||
GType api, guint flags)
|
GType api, const GstStructure * params)
|
||||||
{
|
{
|
||||||
/* propose all metadata upstream */
|
/* propose all metadata upstream */
|
||||||
return TRUE;
|
return TRUE;
|
||||||
|
|
|
@ -1480,8 +1480,8 @@ gst_ximagesink_propose_allocation (GstBaseSink * bsink, GstQuery * query)
|
||||||
}
|
}
|
||||||
|
|
||||||
/* we also support various metadata */
|
/* we also support various metadata */
|
||||||
gst_query_add_allocation_meta (query, GST_VIDEO_META_API_TYPE, 0);
|
gst_query_add_allocation_meta (query, GST_VIDEO_META_API_TYPE, NULL);
|
||||||
gst_query_add_allocation_meta (query, GST_VIDEO_CROP_META_API_TYPE, 0);
|
gst_query_add_allocation_meta (query, GST_VIDEO_CROP_META_API_TYPE, NULL);
|
||||||
|
|
||||||
return TRUE;
|
return TRUE;
|
||||||
|
|
||||||
|
|
|
@ -1991,8 +1991,8 @@ gst_xvimagesink_propose_allocation (GstBaseSink * bsink, GstQuery * query)
|
||||||
}
|
}
|
||||||
|
|
||||||
/* we also support various metadata */
|
/* we also support various metadata */
|
||||||
gst_query_add_allocation_meta (query, GST_VIDEO_META_API_TYPE, 0);
|
gst_query_add_allocation_meta (query, GST_VIDEO_META_API_TYPE, NULL);
|
||||||
gst_query_add_allocation_meta (query, GST_VIDEO_CROP_META_API_TYPE, 0);
|
gst_query_add_allocation_meta (query, GST_VIDEO_CROP_META_API_TYPE, NULL);
|
||||||
|
|
||||||
return TRUE;
|
return TRUE;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue