update for allocation query changes
This commit is contained in:
parent
db3ce93c51
commit
bc5ba349b7
@ -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);
|
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);
|
||||||
|
@ -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);
|
gst_query_add_allocation_meta (query, GST_VIDEO_META_API_TYPE, 0);
|
||||||
|
|
||||||
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)
|
GType api, guint flags)
|
||||||
{
|
{
|
||||||
/* 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);
|
gst_query_add_allocation_meta (query, GST_VIDEO_META_API_TYPE, 0);
|
||||||
gst_query_add_allocation_meta (query, GST_VIDEO_CROP_META_API_TYPE);
|
gst_query_add_allocation_meta (query, GST_VIDEO_CROP_META_API_TYPE, 0);
|
||||||
|
|
||||||
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);
|
gst_query_add_allocation_meta (query, GST_VIDEO_META_API_TYPE, 0);
|
||||||
gst_query_add_allocation_meta (query, GST_VIDEO_CROP_META_API_TYPE);
|
gst_query_add_allocation_meta (query, GST_VIDEO_CROP_META_API_TYPE, 0);
|
||||||
|
|
||||||
return TRUE;
|
return TRUE;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user