Skip to content

Commit

Permalink
Merge pull request #106 from gibsson/v4l2src_format
Browse files Browse the repository at this point in the history
v4l2src: Add V4L2_PIX_FMT_XRGB555X check
  • Loading branch information
dv1 committed Aug 10, 2016
2 parents 50ddcd9 + 1ca05eb commit 77d81f7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/v4l2src/v4l2src.c
Expand Up @@ -447,7 +447,9 @@ static GstCaps *gst_imx_v4l2src_caps_for_current_setup(GstImxV4l2VideoSrc *v4l2s
case V4L2_PIX_FMT_RGB555:
gst_fmt = GST_VIDEO_FORMAT_RGB15;
break;
#ifdef V4L2_PIX_FMT_XRGB555X
case V4L2_PIX_FMT_XRGB555X:
#endif
case V4L2_PIX_FMT_RGB555X:
gst_fmt = GST_VIDEO_FORMAT_BGR15;
break;
Expand Down

0 comments on commit 77d81f7

Please sign in to comment.