mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-18 22:36:33 +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/2046>
This commit is contained in:
parent
b8f83c9d14
commit
3ffbb66593
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);
|
gst_apple_core_video_pixel_buffer_unref (gpixbuf);
|
||||||
|
|
||||||
if (info) {
|
if (info) {
|
||||||
GstVideoMeta *video_meta;
|
gst_buffer_add_video_meta_full (buf, GST_VIDEO_FRAME_FLAG_NONE,
|
||||||
|
|
||||||
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,
|
GST_VIDEO_INFO_FORMAT (info), info->width, info->height, n_planes,
|
||||||
offset, stride);
|
offset, stride);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue