mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-24 08:08:22 +00:00
update for metadata API changes
This commit is contained in:
parent
16406b18d7
commit
9f4b02389e
1 changed files with 1 additions and 1 deletions
|
@ -335,7 +335,7 @@ gst_mpeg2dec_negotiate_pool (GstMpeg2dec * dec, GstCaps * caps,
|
|||
|
||||
/* check if downstream supports cropping */
|
||||
dec->use_cropping =
|
||||
gst_query_has_allocation_meta (query, GST_VIDEO_CROP_META_API);
|
||||
gst_query_has_allocation_meta (query, GST_VIDEO_CROP_META_API_TYPE);
|
||||
|
||||
GST_DEBUG_OBJECT (dec, "downstream supports cropping : %d",
|
||||
dec->use_cropping);
|
||||
|
|
Loading…
Reference in a new issue