mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-08 23:42:28 +00:00
video: fix for metadata API change
This commit is contained in:
parent
9488a0356a
commit
65d306e1f7
2 changed files with 2 additions and 2 deletions
|
@ -29,7 +29,7 @@
|
||||||
#include <gst/base/gstadapter.h>
|
#include <gst/base/gstadapter.h>
|
||||||
#include <gst/video/video.h>
|
#include <gst/video/video.h>
|
||||||
#include <gst/video/gstvideopool.h>
|
#include <gst/video/gstvideopool.h>
|
||||||
#include <gst/video/gstmetavideo.h>
|
#include <gst/video/gstvideometa.h>
|
||||||
|
|
||||||
G_BEGIN_DECLS
|
G_BEGIN_DECLS
|
||||||
|
|
||||||
|
|
|
@ -1988,7 +1988,7 @@ gst_base_video_decoder_set_src_caps (GstBaseVideoDecoder * base_video_decoder)
|
||||||
|
|
||||||
/* check if downstream supports cropping */
|
/* check if downstream supports cropping */
|
||||||
base_video_decoder->use_cropping =
|
base_video_decoder->use_cropping =
|
||||||
gst_query_has_allocation_meta (query, GST_META_API_VIDEO_CROP);
|
gst_query_has_allocation_meta (query, GST_VIDEO_CROP_META_API);
|
||||||
|
|
||||||
gst_buffer_pool_set_config (pool, config);
|
gst_buffer_pool_set_config (pool, config);
|
||||||
/* and activate */
|
/* and activate */
|
||||||
|
|
Loading…
Reference in a new issue