mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-25 01:30:38 +00:00
v4l2: fix broken boolean expression to detect non-frame buffers
https://bugzilla.gnome.org/show_bug.cgi?id=699294
This commit is contained in:
parent
cc5562a8d9
commit
bf3a0b7e37
1 changed files with 1 additions and 1 deletions
|
@ -2530,7 +2530,7 @@ gst_v4l2_object_copy (GstV4l2Object * v4l2object, GstBuffer * dest,
|
|||
{
|
||||
const GstVideoFormatInfo *finfo = v4l2object->info.finfo;
|
||||
|
||||
if (finfo && (finfo->format != GST_VIDEO_FORMAT_UNKNOWN ||
|
||||
if (finfo && (finfo->format != GST_VIDEO_FORMAT_UNKNOWN &&
|
||||
finfo->format != GST_VIDEO_FORMAT_ENCODED)) {
|
||||
GstVideoFrame src_frame, dest_frame;
|
||||
|
||||
|
|
Loading…
Reference in a new issue