[vlc-devel] [PATCH 3 of 4] dshow: add HDYC mediasubtype

Jean-Baptiste Kempf jb at videolan.org
Thu Oct 16 01:59:39 CEST 2008


On Wed, Oct 15, 2008 at 12:04:29AM +0200, Edouard Gomez wrote :
> dshow: add HDYC mediasubtype

I will apply when Patch2 of set is applied.

> 
> diff --git a/modules/access/dshow/filter.cpp b/modules/access/dshow/filter.cpp
> --- a/modules/access/dshow/filter.cpp
> +++ b/modules/access/dshow/filter.cpp
> @@ -120,6 +120,7 @@
>  const GUID MEDIASUBTYPE_YUY2 = {0x32595559, 0x0000, 0x0010, {0x80, 0x00, 0x00, 0xaa, 0x00, 0x38, 0x9b, 0x71}};
>  const GUID MEDIASUBTYPE_YVYU = {0x55595659, 0x0000, 0x0010, {0x80, 0x00, 0x00, 0xaa, 0x00, 0x38, 0x9b, 0x71}};
>  const GUID MEDIASUBTYPE_UYVY = {0x59565955, 0x0000, 0x0010, {0x80, 0x00, 0x00, 0xaa, 0x00, 0x38, 0x9b, 0x71}};
> +const GUID MEDIASUBTYPE_HDYC = {0x43594448, 0x0000, 0x0010, {0x80, 0x00, 0x00, 0xaa, 0x00, 0x38, 0x9b, 0x71}};
>  
>  /* Planar YUV formats */
>  const GUID MEDIASUBTYPE_YVU9 = {0x39555659, 0x0000, 0x0010, {0x80, 0x00, 0x00, 0xaa, 0x00, 0x38, 0x9b, 0x71}};
> @@ -276,6 +277,8 @@
>                 i_fourcc = VLC_FOURCC( 'Y', 'U', 'Y', '2' );
>              else if( media_type.subtype == MEDIASUBTYPE_UYVY )
>                 i_fourcc = VLC_FOURCC( 'U', 'Y', 'V', 'Y' );
> +            else if( media_type.subtype == MEDIASUBTYPE_HDYC )
> +	       i_fourcc = VLC_FOURCC( 'H', 'D', 'Y', 'C');
>  
>              /* MPEG2 video elementary stream */
>              else if( media_type.subtype == MEDIASUBTYPE_MPEG2_VIDEO )
> _______________________________________________
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
> http://mailman.videolan.org/listinfo/vlc-devel

-- 
Best Regards,

-- 
Jean-Baptiste Kempf
http://www.jbkempf.com/



More information about the vlc-devel mailing list