diff options
author | Michael Roitzsch <mroi@users.sourceforge.net> | 2002-09-27 13:08:59 +0000 |
---|---|---|
committer | Michael Roitzsch <mroi@users.sourceforge.net> | 2002-09-27 13:08:59 +0000 |
commit | aefd49250010d70a341a5104663bfb2c80f1002e (patch) | |
tree | 57fd0d5749a56939a10eab58d2a829943d8810b9 | |
parent | 3f26ae192c9353f19f96a85c500fa3809a99f18c (diff) | |
download | xine-lib-aefd49250010d70a341a5104663bfb2c80f1002e.tar.gz xine-lib-aefd49250010d70a341a5104663bfb2c80f1002e.tar.bz2 |
xvid should have lower priority for DivX5 than ffmpeg
CVS patchset: 2753
CVS date: 2002/09/27 13:08:59
-rw-r--r-- | src/libxvid/xine_decoder.c | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/src/libxvid/xine_decoder.c b/src/libxvid/xine_decoder.c index 40b65eba8..cebd7bcff 100644 --- a/src/libxvid/xine_decoder.c +++ b/src/libxvid/xine_decoder.c @@ -243,7 +243,7 @@ static void *init_video_decoder_plugin (xine_t *xine, void *data) { */ static uint32_t video_types[] = { - BUF_VIDEO_XVID, BUF_VIDEO_DIVX5, + BUF_VIDEO_XVID, 0 }; @@ -252,8 +252,19 @@ static decoder_info_t dec_info_video = { 3 /* priority */ }; +static uint32_t video_types2[] = { + BUF_VIDEO_DIVX5, + 0 + }; + +static decoder_info_t dec_info_video2 = { + video_types2, /* supported types */ + 10 /* priority */ +}; + plugin_info_t xine_plugin_info[] = { /* type, API, "name", version, special_info, init_function */ { PLUGIN_VIDEO_DECODER, 10, "xvid", XINE_VERSION_CODE, &dec_info_video, init_video_decoder_plugin }, + { PLUGIN_VIDEO_DECODER, 10, "xvid-divx5", XINE_VERSION_CODE, &dec_info_video2, init_video_decoder_plugin }, { PLUGIN_NONE, 0, "", 0, NULL, NULL } }; |