Hello,

This little patch adds support for grayscale Firewire cameras like the
Point Grey Firefly MV. This is my first contribution to libav and my first
time using `git send-email`, so please do let me know if I've got it all
wrong.

Cheers,

Clay

On Sun, Jan 4, 2015 at 2:30 AM, Clay McClure <[email protected]> wrote:

> ---
>  libavdevice/libdc1394.c | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/libavdevice/libdc1394.c b/libavdevice/libdc1394.c
> index f030e3e..cc348d4 100644
> --- a/libavdevice/libdc1394.c
> +++ b/libavdevice/libdc1394.c
> @@ -75,6 +75,7 @@ struct dc1394_frame_format {
>      int frame_size_id;
>  } dc1394_frame_formats[] = {
>      { 320, 240, AV_PIX_FMT_UYVY422,   DC1394_VIDEO_MODE_320x240_YUV422 },
> +    { 640, 480, AV_PIX_FMT_GRAY8,     DC1394_VIDEO_MODE_640x480_MONO8 },
>      { 640, 480, AV_PIX_FMT_UYYVYY411, DC1394_VIDEO_MODE_640x480_YUV411 },
>      { 640, 480, AV_PIX_FMT_UYVY422,   DC1394_VIDEO_MODE_640x480_YUV422 },
>      { 0, 0, 0, 0 } /* gotta be the last one */
> --
> 2.2.1
>
>
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to