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:
Víctor Manuel Jáquez Leal 2017-12-05 10:37:40 +01:00
parent 23df1dfb87
commit 3937ed906c

View file

@ -344,7 +344,7 @@ _try_export_dmabuf (GstGLDownloadElement * download, GstBuffer * inbuf)
gst_video_info_from_caps (&out_info, src_caps); gst_video_info_from_caps (&out_info, src_caps);
if (download->add_videometa) { 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->format, out_info.width, out_info.height,
out_info.finfo->n_planes, offset, stride); out_info.finfo->n_planes, offset, stride);
} else { } else {