From 221c4dd014abdc2ae1ba384b4fb790bb3f99f660 Mon Sep 17 00:00:00 2001 From: Heiko Schaefer Date: Thu, 20 Sep 2001 13:25:40 +0000 Subject: attempt at viewing 3ivx sample streams - video is wrong somehow CVS patchset: 676 CVS date: 2001/09/20 13:25:40 --- src/demuxers/demux_qt.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/demuxers/demux_qt.c b/src/demuxers/demux_qt.c index 18eeaaaaa..feb8ac777 100644 --- a/src/demuxers/demux_qt.c +++ b/src/demuxers/demux_qt.c @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * - * $Id: demux_qt.c,v 1.4 2001/09/16 23:13:45 f1rmb Exp $ + * $Id: demux_qt.c,v 1.5 2001/09/20 13:25:40 heikos Exp $ * * demultiplexer for quicktime streams, based on: * @@ -4155,6 +4155,8 @@ static int demux_qt_detect_compressors (demux_qt_t *this) { } else if (!strncasecmp (video, "jpeg", 4)) this->video_type = BUF_VIDEO_JPEG; + else if (!strncasecmp (video, "3IV1", 4)) + this->video_type = BUF_VIDEO_MSMPEG4_V3; else if (!strncasecmp (video, "raw ", 4)) this->video_type = BUF_VIDEO_RGB; else if (!strncasecmp (video, "yuv2", 4)) @@ -4190,6 +4192,8 @@ static int demux_qt_detect_compressors (demux_qt_t *this) { if (!strncasecmp (audio, "raw ", 4)) { this->audio_type = BUF_AUDIO_LPCM_LE; this->wavex.wFormatTag = WAVE_FORMAT_ADPCM; + } else if (!strncasecmp (audio, ".mp3", 4)) { + this->audio_type = BUF_AUDIO_MPEG; } else { printf ("demux_qt: unknown audio codec >%s<\n", audio); -- cgit v1.2.3