[PATCH 1/3] v4l2src: Add GST_VIDEO_FORMAT_NV61 check.

Vivia Nikolaidou n.vivia at gmail.com
Tue Sep 6 13:33:08 UTC 2016


Hi and thanks for your contribution.

Please use Bugzilla to send us your patches:
https://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer

Thanks a lot,

Vivia

On 6 September 2016 at 15:53,  <phdm at macq.eu> wrote:
> From: Philippe De Muyter <phdm at macqel.be>
>
> Signed-off-by: Philippe De Muyter <phdm at macqel.be>
> ---
>  src/v4l2src/v4l2src.c | 2 ++
>  1 file changed, 2 insertions(+)
>
> diff --git a/src/v4l2src/v4l2src.c b/src/v4l2src/v4l2src.c
> index 12b392a..68ecea2 100644
> --- a/src/v4l2src/v4l2src.c
> +++ b/src/v4l2src/v4l2src.c
> @@ -529,12 +529,14 @@ static GstCaps *gst_imx_v4l2src_caps_for_current_setup(GstImxV4l2VideoSrc *v4l2s
>  #endif
>                         gst_fmt = GST_VIDEO_FORMAT_NV16;
>                         break;
> +#ifdef GST_VIDEO_FORMAT_NV61
>                 case V4L2_PIX_FMT_NV61:
>  #ifdef V4L2_PIX_FMT_NV61M
>                 case V4L2_PIX_FMT_NV61M:
>  #endif
>                         gst_fmt = GST_VIDEO_FORMAT_NV61;
>                         break;
> +#endif
>                 case V4L2_PIX_FMT_NV24:
>                         gst_fmt = GST_VIDEO_FORMAT_NV24;
>                         break;
> --
> 1.8.4.5
>
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel


More information about the gstreamer-devel mailing list