From b037e6c5820ba973e31f767c24de8681f7ca57ee Mon Sep 17 00:00:00 2001 From: Ewald Snel Date: Mon, 28 Apr 2003 19:10:01 +0000 Subject: Enable Indeo3 decoder CVS patchset: 4702 CVS date: 2003/04/28 19:10:01 --- src/libffmpeg/xine_decoder.c | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/libffmpeg/xine_decoder.c b/src/libffmpeg/xine_decoder.c index 1b4338be1..b40334741 100644 --- a/src/libffmpeg/xine_decoder.c +++ b/src/libffmpeg/xine_decoder.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: xine_decoder.c,v 1.115 2003/04/27 20:56:02 heinchen Exp $ + * $Id: xine_decoder.c,v 1.116 2003/04/28 19:10:01 esnel Exp $ * * xine decoder plugin using ffmpeg * @@ -707,6 +707,16 @@ static void ff_decode_data (video_decoder_t *this_gen, buf_element_t *buf) { this->stream->meta_info[XINE_META_INFO_VIDEOCODEC] = strdup ("Real Video 1.0 (ffmpeg)"); break; + case BUF_VIDEO_IV31: + this->codec = avcodec_find_decoder (CODEC_ID_INDEO3); + this->stream->meta_info[XINE_META_INFO_VIDEOCODEC] + = strdup ("Indeo Video 3.1 (ffmpeg)"); + break; + case BUF_VIDEO_IV32: + this->codec = avcodec_find_decoder (CODEC_ID_INDEO3); + this->stream->meta_info[XINE_META_INFO_VIDEOCODEC] + = strdup ("Indeo Video 3.2 (ffmpeg)"); + break; case BUF_VIDEO_SORENSON_V1: this->codec = avcodec_find_decoder (CODEC_ID_SVQ1); this->stream->meta_info[XINE_META_INFO_VIDEOCODEC] @@ -1380,6 +1390,8 @@ static uint32_t supported_video_types[] = { BUF_VIDEO_MJPEG, BUF_VIDEO_H263, BUF_VIDEO_RV10, + BUF_VIDEO_IV31, + BUF_VIDEO_IV32, BUF_VIDEO_SORENSON_V1, BUF_VIDEO_JPEG, BUF_VIDEO_MPEG, -- cgit v1.2.3