mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-23 08:46:40 +00:00
gstreamer: Announce support for video meta on the input side
This allows handling input buffers with non-default strides, which was already handled fine by the element code. Without this, potentially expensive conversion was needed.
This commit is contained in:
parent
c5b166491c
commit
785ba05bca
1 changed files with 3 additions and 1 deletions
|
@ -792,7 +792,9 @@ gst_svtav1enc_propose_allocation (GstVideoEncoder * encoder, GstQuery * query)
|
|||
|
||||
GST_DEBUG_OBJECT (svtav1enc, "propose_allocation");
|
||||
|
||||
return TRUE;
|
||||
gst_query_add_allocation_meta(query, GST_VIDEO_META_API_TYPE, NULL);
|
||||
|
||||
return GST_VIDEO_ENCODER_CLASS (gst_svtav1enc_parent_class)->propose_allocation (encoder, query);
|
||||
}
|
||||
|
||||
static gboolean
|
||||
|
|
Loading…
Reference in a new issue