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/2046>
This commit is contained in:
Matthew Waters 2022-03-28 20:50:27 +11:00 committed by GStreamer Marge Bot
parent b8f83c9d14
commit 3ffbb66593

View file

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