applemedia/corevideobuffer: remove unused variable

Fixes:

../sys/applemedia/corevideobuffer.c:209:19: error: variable 'video_meta' set but not used [-Werror,-Wunused-but-set-variable]
    GstVideoMeta *video_meta;
                  ^

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2068>
This commit is contained in:
Matthew Waters 2022-03-28 20:50:27 +11:00 committed by Tim-Philipp Müller
parent ba8c6baae4
commit 91eb442389

View file

@ -206,9 +206,6 @@ gst_core_video_wrap_pixel_buffer (GstBuffer * buf,
gst_apple_core_video_pixel_buffer_unref (gpixbuf); gst_apple_core_video_pixel_buffer_unref (gpixbuf);
if (info) { if (info) {
GstVideoMeta *video_meta;
video_meta =
gst_buffer_add_video_meta_full (buf, GST_VIDEO_FRAME_FLAG_NONE, gst_buffer_add_video_meta_full (buf, GST_VIDEO_FRAME_FLAG_NONE,
GST_VIDEO_INFO_FORMAT (info), info->width, info->height, n_planes, GST_VIDEO_INFO_FORMAT (info), info->width, info->height, n_planes,
offset, stride); offset, stride);