summaryrefslogtreecommitdiff
path: root/src/libxvid/xine_decoder.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libxvid/xine_decoder.c')
-rw-r--r--src/libxvid/xine_decoder.c5
1 files changed, 4 insertions, 1 deletions
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) {