From 19e885691fcbfa46564fab93bde6d946350584da Mon Sep 17 00:00:00 2001 From: Guenter Bartsch Date: Sat, 20 Apr 2002 20:20:43 +0000 Subject: differentiating mpeg-4 formats even more, divx5 apparently is not completely mpeg-4 compliant while xvid reportedly doesn't handle mpeg-4 streams correctly CVS patchset: 1750 CVS date: 2002/04/20 20:20:43 --- src/libxvid/xine_decoder.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/libxvid/xine_decoder.c') diff --git a/src/libxvid/xine_decoder.c b/src/libxvid/xine_decoder.c index b3b567d3b..cb5672ba4 100644 --- a/src/libxvid/xine_decoder.c +++ b/src/libxvid/xine_decoder.c @@ -83,7 +83,10 @@ typedef struct xvid_decoder_s { static int xvid_can_handle (video_decoder_t *this_gen, int buf_type) { buf_type &= (BUF_MAJOR_MASK|BUF_DECODER_MASK); - return (buf_type == BUF_VIDEO_MPEG4); + + /* FIXME: what is it exactly that xvid can handle? :> */ + + return ((buf_type == BUF_VIDEO_XVID) || (buf_type == BUF_VIDEO_DIVX5)); } static void xvid_init_plugin (video_decoder_t *this_gen, vo_instance_t *video_out) { -- cgit v1.2.3