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

Jean-Baptiste Kempf jb at videolan.org
Fri Oct 10 22:35:52 CEST 2008


On Fri, Oct 10, 2008 at 10:24:20PM +0200, Edouard Gomez wrote :
> # HG changeset patch
> # User Edouard Gomez <ed.gomez at free.fr>
> # Date 1223648709 -7200
> # Node ID 337acc18537f7d45f95fa87350006a3c1b7b5203
> # Parent  7d010b899293774e3fd0ba63a5a29038cbacd0c6
> dshow: add HDYC mediasubtype
OK for me.

> 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