mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-23 16:50:47 +00:00
gldownload: fix wrong enum
When compiling with clang, an enum conversion error is triggered since GstVideoFrameFlags are not GstVideoFlags. This patch sets GST_VIDEO_FRAME_FLAG_NONE to the added video meta. https://bugzilla.gnome.org/show_bug.cgi?id=791251
This commit is contained in:
parent
23df1dfb87
commit
3937ed906c
1 changed files with 1 additions and 1 deletions
|
@ -344,7 +344,7 @@ _try_export_dmabuf (GstGLDownloadElement * download, GstBuffer * inbuf)
|
|||
gst_video_info_from_caps (&out_info, src_caps);
|
||||
|
||||
if (download->add_videometa) {
|
||||
gst_buffer_add_video_meta_full (buffer, out_info.flags,
|
||||
gst_buffer_add_video_meta_full (buffer, GST_VIDEO_FRAME_FLAG_NONE,
|
||||
out_info.finfo->format, out_info.width, out_info.height,
|
||||
out_info.finfo->n_planes, offset, stride);
|
||||
} else {
|
||||
|
|
Loading…
Reference in a new issue