update for metadata API changes
This commit is contained in:
parent
16406b18d7
commit
9f4b02389e
@ -335,7 +335,7 @@ gst_mpeg2dec_negotiate_pool (GstMpeg2dec * dec, GstCaps * caps,
|
|||||||
|
|
||||||
/* check if downstream supports cropping */
|
/* check if downstream supports cropping */
|
||||||
dec->use_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",
|
GST_DEBUG_OBJECT (dec, "downstream supports cropping : %d",
|
||||||
dec->use_cropping);
|
dec->use_cropping);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user