Commit 7ebdd5ba authored by Derk-Jan Hartman's avatar Derk-Jan Hartman

* Added fourcc 'MSS1' which is equivalent to 'WMV2'

parent eb0eac06
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* ffmpeg.c: video decoder using ffmpeg library * ffmpeg.c: video decoder using ffmpeg library
***************************************************************************** *****************************************************************************
* Copyright (C) 1999-2001 VideoLAN * Copyright (C) 1999-2001 VideoLAN
* $Id: ffmpeg.c,v 1.27 2003/03/13 16:09:20 hartman Exp $ * $Id: ffmpeg.c,v 1.28 2003/03/24 13:50:55 hartman Exp $
* *
* Authors: Laurent Aimar <fenrir@via.ecp.fr> * Authors: Laurent Aimar <fenrir@via.ecp.fr>
* *
...@@ -497,6 +497,7 @@ static int ffmpeg_GetFfmpegCodec( vlc_fourcc_t i_fourcc, ...@@ -497,6 +497,7 @@ static int ffmpeg_GetFfmpegCodec( vlc_fourcc_t i_fourcc,
psz_name ="Windows Media Video 1"; psz_name ="Windows Media Video 1";
break; break;
case FOURCC_WMV2: case FOURCC_WMV2:
case FOURCC_MSS1:
i_cat = VIDEO_ES; i_cat = VIDEO_ES;
i_codec = CODEC_ID_WMV2; i_codec = CODEC_ID_WMV2;
psz_name ="Windows Media Video 2"; psz_name ="Windows Media Video 2";
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* ffmpeg_vdec.h: video decoder using ffmpeg library * ffmpeg_vdec.h: video decoder using ffmpeg library
***************************************************************************** *****************************************************************************
* Copyright (C) 2001 VideoLAN * Copyright (C) 2001 VideoLAN
* $Id: ffmpeg.h,v 1.14 2003/03/13 16:09:20 hartman Exp $ * $Id: ffmpeg.h,v 1.15 2003/03/24 13:50:55 hartman Exp $
* *
* Authors: Laurent Aimar <fenrir@via.ecp.fr> * Authors: Laurent Aimar <fenrir@via.ecp.fr>
* *
...@@ -149,6 +149,7 @@ int E_( GetPESData )( u8 *p_buf, int i_max, pes_packet_t *p_pes ); ...@@ -149,6 +149,7 @@ int E_( GetPESData )( u8 *p_buf, int i_max, pes_packet_t *p_pes );
/* wmv */ /* wmv */
#define FOURCC_WMV1 VLC_FOURCC('W','M','V','1') #define FOURCC_WMV1 VLC_FOURCC('W','M','V','1')
#define FOURCC_WMV2 VLC_FOURCC('W','M','V','2') #define FOURCC_WMV2 VLC_FOURCC('W','M','V','2')
#define FOURCC_MSS1 VLC_FOURCC('M','S','S','1')
#define FOURCC_dvsl VLC_FOURCC('d','v','s','l') #define FOURCC_dvsl VLC_FOURCC('d','v','s','l')
#define FOURCC_dvsd VLC_FOURCC('d','v','s','d') #define FOURCC_dvsd VLC_FOURCC('d','v','s','d')
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* video.c: video decoder using ffmpeg library * video.c: video decoder using ffmpeg library
***************************************************************************** *****************************************************************************
* Copyright (C) 1999-2001 VideoLAN * Copyright (C) 1999-2001 VideoLAN
* $Id: video.c,v 1.18 2003/03/15 18:44:31 fenrir Exp $ * $Id: video.c,v 1.19 2003/03/24 13:50:55 hartman Exp $
* *
* Authors: Laurent Aimar <fenrir@via.ecp.fr> * Authors: Laurent Aimar <fenrir@via.ecp.fr>
* Gildas Bazin <gbazin@netcourrier.com> * Gildas Bazin <gbazin@netcourrier.com>
...@@ -280,6 +280,7 @@ int E_( InitThread_Video )( vdec_thread_t *p_vdec ) ...@@ -280,6 +280,7 @@ int E_( InitThread_Video )( vdec_thread_t *p_vdec )
p_vdec->p_fifo->i_fourcc == FOURCC_M4S2 || p_vdec->p_fifo->i_fourcc == FOURCC_M4S2 ||
p_vdec->p_fifo->i_fourcc == FOURCC_m4s2 || p_vdec->p_fifo->i_fourcc == FOURCC_m4s2 ||
p_vdec->p_fifo->i_fourcc == FOURCC_WMV2 || p_vdec->p_fifo->i_fourcc == FOURCC_WMV2 ||
p_vdec->p_fifo->i_fourcc == FOURCC_MSS1 ||
p_vdec->p_fifo->i_fourcc == FOURCC_MJPG || p_vdec->p_fifo->i_fourcc == FOURCC_MJPG ||
p_vdec->p_fifo->i_fourcc == FOURCC_mjpg || p_vdec->p_fifo->i_fourcc == FOURCC_mjpg ||
p_vdec->p_fifo->i_fourcc == FOURCC_mjpa || p_vdec->p_fifo->i_fourcc == FOURCC_mjpa ||
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment