v4l2: Fix stupid typo in last commit

This commit is contained in:
Sebastian Dröge 2009-09-03 20:40:17 +02:00
parent 4fda384a83
commit 0c6fba9506

View File

@ -724,7 +724,7 @@ gst_v4l2_object_format_get_rank (const struct v4l2_fmtdesc *fmt)
{ {
guint32 fourcc = fmt->pixelformat; guint32 fourcc = fmt->pixelformat;
#ifdef V4L2_FMT_FLAG_EMULATED #ifdef V4L2_FMT_FLAG_EMULATED
gboolean emulated = ((flags & V4L2_FMT_FLAG_EMULATED) != 0); gboolean emulated = ((fmt->flags & V4L2_FMT_FLAG_EMULATED) != 0);
#else #else
gboolean emulated = FALSE; gboolean emulated = FALSE;
#endif #endif