mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 17:20:36 +00:00
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:
parent
ba8c6baae4
commit
91eb442389
1 changed files with 1 additions and 4 deletions
|
@ -206,10 +206,7 @@ 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_buffer_add_video_meta_full (buf, GST_VIDEO_FRAME_FLAG_NONE,
|
||||
GST_VIDEO_INFO_FORMAT (info), info->width, info->height, n_planes,
|
||||
offset, stride);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue