From: Laurent Aimar Date: Sun, 6 Jun 2004 19:02:02 +0000 (+0000) Subject: * all: added VSSH fourcc. X-Git-Tag: 0.8.0~1190 X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=47912024b9e2d71bd0329f7bc4ef39ecdecd893b;p=vlc * all: added VSSH fourcc. --- diff --git a/modules/codec/ffmpeg/ffmpeg.c b/modules/codec/ffmpeg/ffmpeg.c index 16af8ece21..4b6fede45d 100644 --- a/modules/codec/ffmpeg/ffmpeg.c +++ b/modules/codec/ffmpeg/ffmpeg.c @@ -468,6 +468,10 @@ static struct /* avc1: special case h264 */ { VLC_FOURCC('a','v','c','1'), CODEC_ID_H264, VIDEO_ES, "h264" }, + { VLC_FOURCC('V','S','S','H'), CODEC_ID_H264, + VIDEO_ES, "h264" }, + { VLC_FOURCC('v','s','s','h'), CODEC_ID_H264, + VIDEO_ES, "h264" }, /* H263 and H263i */ /* H263(+) is also known as Real Video 1.0 */ diff --git a/modules/packetizer/h264.c b/modules/packetizer/h264.c index dfffbc7cfe..fa4daf40df 100644 --- a/modules/packetizer/h264.c +++ b/modules/packetizer/h264.c @@ -117,6 +117,8 @@ static int Open( vlc_object_t *p_this ) if( p_dec->fmt_in.i_codec != VLC_FOURCC( 'h', '2', '6', '4') && p_dec->fmt_in.i_codec != VLC_FOURCC( 'H', '2', '6', '4') && + p_dec->fmt_in.i_codec != VLC_FOURCC( 'V', 'S', 'S', 'H') && + p_dec->fmt_in.i_codec != VLC_FOURCC( 'v', 's', 's', 'h') && ( p_dec->fmt_in.i_codec != VLC_FOURCC( 'a', 'v', 'c', '1') || p_dec->fmt_in.i_extra < 7 ) ) { return VLC_EGENERIC;