diff options
author | Miguel Freitas <miguelfreitas@users.sourceforge.net> | 2002-11-12 18:40:50 +0000 |
---|---|---|
committer | Miguel Freitas <miguelfreitas@users.sourceforge.net> | 2002-11-12 18:40:50 +0000 |
commit | 5caae571ccadaaf00a90d4ec321c5ab4b4cc4191 (patch) | |
tree | 76f5a2032230468f0321cdccd221768b419ffec0 /src/libxinevdec | |
parent | 1083056bd34700d1b21171cabf507eab1620be27 (diff) | |
download | xine-lib-5caae571ccadaaf00a90d4ec321c5ab4b4cc4191.tar.gz xine-lib-5caae571ccadaaf00a90d4ec321c5ab4b4cc4191.tar.bz2 |
merge metronom's improvements (inform decoders about discontinuities)
http://sourceforge.net/mailarchive/forum.php?thread_id=1297475&forum_id=7131
CVS patchset: 3250
CVS date: 2002/11/12 18:40:50
Diffstat (limited to 'src/libxinevdec')
-rw-r--r-- | src/libxinevdec/cinepak.c | 8 | ||||
-rw-r--r-- | src/libxinevdec/cyuv.c | 8 | ||||
-rw-r--r-- | src/libxinevdec/fli.c | 8 | ||||
-rw-r--r-- | src/libxinevdec/foovideo.c | 10 | ||||
-rw-r--r-- | src/libxinevdec/idcinvideo.c | 8 | ||||
-rw-r--r-- | src/libxinevdec/msrle.c | 8 | ||||
-rw-r--r-- | src/libxinevdec/msvc.c | 8 | ||||
-rw-r--r-- | src/libxinevdec/qtrle.c | 8 | ||||
-rw-r--r-- | src/libxinevdec/qtrpza.c | 8 | ||||
-rw-r--r-- | src/libxinevdec/qtsmc.c | 8 | ||||
-rw-r--r-- | src/libxinevdec/rgb.c | 8 | ||||
-rw-r--r-- | src/libxinevdec/roqvideo.c | 8 | ||||
-rw-r--r-- | src/libxinevdec/svq1.c | 8 | ||||
-rw-r--r-- | src/libxinevdec/wc3video.c | 8 | ||||
-rw-r--r-- | src/libxinevdec/yuv.c | 8 |
15 files changed, 92 insertions, 30 deletions
diff --git a/src/libxinevdec/cinepak.c b/src/libxinevdec/cinepak.c index 5ba91eb1d..298e01154 100644 --- a/src/libxinevdec/cinepak.c +++ b/src/libxinevdec/cinepak.c @@ -22,7 +22,7 @@ * based on overview of Cinepak algorithm and example decoder * by Tim Ferguson: http://www.csse.monash.edu.au/~timf/ * - * $Id: cinepak.c,v 1.19 2002/11/11 05:55:51 tmmm Exp $ + * $Id: cinepak.c,v 1.20 2002/11/12 18:40:53 miguelfreitas Exp $ */ #include <stdlib.h> @@ -464,6 +464,9 @@ static void cvid_reset (video_decoder_t *this_gen) { this->size = 0; } +static void cvid_discontinuity (video_decoder_t *this_gen) { +} + static void cvid_dispose (video_decoder_t *this_gen) { cvid_decoder_t *this = (cvid_decoder_t *) this_gen; @@ -494,6 +497,7 @@ static video_decoder_t *open_plugin (video_decoder_class_t *class_gen, xine_stre this->video_decoder.decode_data = cvid_decode_data; this->video_decoder.flush = cvid_flush; this->video_decoder.reset = cvid_reset; + this->video_decoder.discontinuity = cvid_discontinuity; this->video_decoder.dispose = cvid_dispose; this->size = 0; @@ -549,6 +553,6 @@ static decoder_info_t dec_info_video = { plugin_info_t xine_plugin_info[] = { /* type, API, "name", version, special_info, init_function */ - { PLUGIN_VIDEO_DECODER, 11, "cinepak", XINE_VERSION_CODE, &dec_info_video, init_plugin }, + { PLUGIN_VIDEO_DECODER, 12, "cinepak", XINE_VERSION_CODE, &dec_info_video, init_plugin }, { PLUGIN_NONE, 0, "", 0, NULL, NULL } }; diff --git a/src/libxinevdec/cyuv.c b/src/libxinevdec/cyuv.c index ac8ae0eeb..1daf75a17 100644 --- a/src/libxinevdec/cyuv.c +++ b/src/libxinevdec/cyuv.c @@ -18,7 +18,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: cyuv.c,v 1.10 2002/11/11 05:55:51 tmmm Exp $ + * $Id: cyuv.c,v 1.11 2002/11/12 18:40:53 miguelfreitas Exp $ */ /* And this is the header that came with the CYUV decoder: */ @@ -219,6 +219,9 @@ static void cyuv_flush (video_decoder_t *this_gen) { static void cyuv_reset (video_decoder_t *this_gen) { } +static void cyuv_discontinuity (video_decoder_t *this_gen) { +} + static void cyuv_dispose (video_decoder_t *this_gen) { cyuv_decoder_t *this = (cyuv_decoder_t *) this_gen; @@ -237,6 +240,7 @@ static video_decoder_t *open_plugin (video_decoder_class_t *class_gen, xine_stre this->video_decoder.decode_data = cyuv_decode_data; this->video_decoder.flush = cyuv_flush; this->video_decoder.reset = cyuv_reset; + this->video_decoder.discontinuity = cyuv_discontinuity; this->video_decoder.dispose = cyuv_dispose; this->size = 0; @@ -290,6 +294,6 @@ static decoder_info_t dec_info_video = { plugin_info_t xine_plugin_info[] = { /* type, API, "name", version, special_info, init_function */ - { PLUGIN_VIDEO_DECODER, 11, "cyuv", XINE_VERSION_CODE, &dec_info_video, init_plugin }, + { PLUGIN_VIDEO_DECODER, 12, "cyuv", XINE_VERSION_CODE, &dec_info_video, init_plugin }, { PLUGIN_NONE, 0, "", 0, NULL, NULL } }; diff --git a/src/libxinevdec/fli.c b/src/libxinevdec/fli.c index 47cb8028d..6c898093b 100644 --- a/src/libxinevdec/fli.c +++ b/src/libxinevdec/fli.c @@ -23,7 +23,7 @@ * avoid when implementing a FLI decoder, visit: * http://www.pcisys.net/~melanson/codecs/ * - * $Id: fli.c,v 1.8 2002/10/23 03:21:20 tmmm Exp $ + * $Id: fli.c,v 1.9 2002/11/12 18:40:53 miguelfreitas Exp $ */ #include <stdio.h> @@ -506,6 +506,9 @@ static void fli_reset (video_decoder_t *this_gen) { this->size = 0; } +static void fli_discontinuity (video_decoder_t *this_gen) { +} + /* * This function frees the video decoder instance allocated to the decoder. */ @@ -538,6 +541,7 @@ static video_decoder_t *open_plugin (video_decoder_class_t *class_gen, xine_stre this->video_decoder.decode_data = fli_decode_data; this->video_decoder.flush = fli_flush; this->video_decoder.reset = fli_reset; + this->video_decoder.discontinuity = fli_discontinuity; this->video_decoder.dispose = fli_dispose; this->size = 0; @@ -592,7 +596,7 @@ static decoder_info_t dec_info_video = { plugin_info_t xine_plugin_info[] = { /* type, API, "name", version, special_info, init_function */ - { PLUGIN_VIDEO_DECODER, 11, "fli", XINE_VERSION_CODE, &dec_info_video, init_plugin }, + { PLUGIN_VIDEO_DECODER, 12, "fli", XINE_VERSION_CODE, &dec_info_video, init_plugin }, { PLUGIN_NONE, 0, "", 0, NULL, NULL } }; diff --git a/src/libxinevdec/foovideo.c b/src/libxinevdec/foovideo.c index 412f5ac86..2ca96e8d9 100644 --- a/src/libxinevdec/foovideo.c +++ b/src/libxinevdec/foovideo.c @@ -23,7 +23,7 @@ * value from the last frame. This creates a slowly rotating solid color * frame when the frames are played in succession. * - * $Id: foovideo.c,v 1.9 2002/11/11 05:55:51 tmmm Exp $ + * $Id: foovideo.c,v 1.10 2002/11/12 18:40:54 miguelfreitas Exp $ */ #include <stdio.h> @@ -183,6 +183,11 @@ static void foovideo_reset (video_decoder_t *this_gen) { this->size = 0; } +static void foovideo_discontinuity (video_decoder_t *this_gen) { + foovideo_decoder_t *this = (foovideo_decoder_t *) this_gen; + +} + /* * This function frees the video decoder instance allocated to the decoder. */ @@ -216,6 +221,7 @@ static video_decoder_t *open_plugin (video_decoder_class_t *class_gen, xine_stre this->video_decoder.decode_data = foovideo_decode_data; this->video_decoder.flush = foovideo_flush; this->video_decoder.reset = foovideo_reset; + this->video_decoder.discontinuity = foovideo_discontinuity; this->video_decoder.dispose = foovideo_dispose; this->size = 0; @@ -300,6 +306,6 @@ static decoder_info_t dec_info_video = { */ plugin_info_t xine_plugin_info[] = { /* { type, API, "name", version, special_info, init_function } */ - { PLUGIN_VIDEO_DECODER, 11, "foovideo", XINE_VERSION_CODE, &dec_info_video, init_plugin }, + { PLUGIN_VIDEO_DECODER, 12, "foovideo", XINE_VERSION_CODE, &dec_info_video, init_plugin }, { PLUGIN_NONE, 0, "", 0, NULL, NULL } }; diff --git a/src/libxinevdec/idcinvideo.c b/src/libxinevdec/idcinvideo.c index c49ebff84..6ebfa1f07 100644 --- a/src/libxinevdec/idcinvideo.c +++ b/src/libxinevdec/idcinvideo.c @@ -21,7 +21,7 @@ * the Id CIN format, visit: * http://www.csse.monash.edu.au/~timf/ * - * $Id: idcinvideo.c,v 1.7 2002/11/11 05:55:51 tmmm Exp $ + * $Id: idcinvideo.c,v 1.8 2002/11/12 18:40:54 miguelfreitas Exp $ */ #include <stdio.h> @@ -334,6 +334,9 @@ static void idcinvideo_reset (video_decoder_t *this_gen) { this->size = 0; } +static void idcinvideo_discontinuity (video_decoder_t *this_gen) { +} + /* * This function frees the video decoder instance allocated to the decoder. */ @@ -363,6 +366,7 @@ static video_decoder_t *open_plugin (video_decoder_class_t *class_gen, xine_stre this->video_decoder.decode_data = idcinvideo_decode_data; this->video_decoder.flush = idcinvideo_flush; this->video_decoder.reset = idcinvideo_reset; + this->video_decoder.discontinuity = idcinvideo_discontinuity; this->video_decoder.dispose = idcinvideo_dispose; this->size = 0; @@ -411,6 +415,6 @@ static decoder_info_t video_decoder_info = { plugin_info_t xine_plugin_info[] = { /* type, API, "name", version, special_info, init_function */ - { PLUGIN_VIDEO_DECODER, 11, "idcinvideo", XINE_VERSION_CODE, &video_decoder_info, &init_plugin }, + { PLUGIN_VIDEO_DECODER, 12, "idcinvideo", XINE_VERSION_CODE, &video_decoder_info, &init_plugin }, { PLUGIN_NONE, 0, "", 0, NULL, NULL } }; diff --git a/src/libxinevdec/msrle.c b/src/libxinevdec/msrle.c index 543b704ad..c2fd5d033 100644 --- a/src/libxinevdec/msrle.c +++ b/src/libxinevdec/msrle.c @@ -21,7 +21,7 @@ * For more information on the MS RLE format, visit: * http://www.pcisys.net/~melanson/codecs/ * - * $Id: msrle.c,v 1.9 2002/11/11 05:55:51 tmmm Exp $ + * $Id: msrle.c,v 1.10 2002/11/12 18:40:54 miguelfreitas Exp $ */ #include <stdio.h> @@ -292,6 +292,9 @@ static void msrle_reset (video_decoder_t *this_gen) { this->size = 0; } +static void msrle_discontinuity (video_decoder_t *this_gen) { +} + /* * This function frees the video decoder instance allocated to the decoder. */ @@ -320,6 +323,7 @@ static video_decoder_t *open_plugin (video_decoder_class_t *class_gen, xine_stre this->video_decoder.decode_data = msrle_decode_data; this->video_decoder.flush = msrle_flush; this->video_decoder.reset = msrle_reset; + this->video_decoder.discontinuity = msrle_discontinuity; this->video_decoder.dispose = msrle_dispose; this->size = 0; @@ -374,6 +378,6 @@ static decoder_info_t dec_info_video = { plugin_info_t xine_plugin_info[] = { /* type, API, "name", version, special_info, init_function */ - { PLUGIN_VIDEO_DECODER, 11, "msrle", XINE_VERSION_CODE, &dec_info_video, init_plugin }, + { PLUGIN_VIDEO_DECODER, 12, "msrle", XINE_VERSION_CODE, &dec_info_video, init_plugin }, { PLUGIN_NONE, 0, "", 0, NULL, NULL } }; diff --git a/src/libxinevdec/msvc.c b/src/libxinevdec/msvc.c index 47de2eb00..598259654 100644 --- a/src/libxinevdec/msvc.c +++ b/src/libxinevdec/msvc.c @@ -22,7 +22,7 @@ * based on overview of Microsoft Video-1 algorithm * by Mike Melanson: http://www.pcisys.net/~melanson/codecs/video1.txt * - * $Id: msvc.c,v 1.14 2002/11/11 05:55:51 tmmm Exp $ + * $Id: msvc.c,v 1.15 2002/11/12 18:40:54 miguelfreitas Exp $ */ #include <stdlib.h> @@ -320,6 +320,9 @@ static void msvc_reset (video_decoder_t *this_gen) { this->size = 0; } +static void msvc_discontinuity (video_decoder_t *this_gen) { +} + static void msvc_dispose (video_decoder_t *this_gen) { msvc_decoder_t *this = (msvc_decoder_t *) this_gen; @@ -351,6 +354,7 @@ static video_decoder_t *open_plugin (video_decoder_class_t *class_gen, xine_stre this->video_decoder.decode_data = msvc_decode_data; this->video_decoder.flush = msvc_flush; this->video_decoder.reset = msvc_reset; + this->video_decoder.discontinuity = msvc_discontinuity; this->video_decoder.dispose = msvc_dispose; this->size = 0; @@ -405,6 +409,6 @@ static decoder_info_t dec_info_video = { plugin_info_t xine_plugin_info[] = { /* type, API, "name", version, special_info, init_function */ - { PLUGIN_VIDEO_DECODER, 11, "msvc", XINE_VERSION_CODE, &dec_info_video, init_plugin }, + { PLUGIN_VIDEO_DECODER, 12, "msvc", XINE_VERSION_CODE, &dec_info_video, init_plugin }, { PLUGIN_NONE, 0, "", 0, NULL, NULL } }; diff --git a/src/libxinevdec/qtrle.c b/src/libxinevdec/qtrle.c index 4130b7184..6382e888d 100644 --- a/src/libxinevdec/qtrle.c +++ b/src/libxinevdec/qtrle.c @@ -21,7 +21,7 @@ * For more information on the QT RLE format, visit: * http://www.pcisys.net/~melanson/codecs/ * - * $Id: qtrle.c,v 1.5 2002/11/11 05:55:51 tmmm Exp $ + * $Id: qtrle.c,v 1.6 2002/11/12 18:40:54 miguelfreitas Exp $ */ #include <stdio.h> @@ -827,6 +827,9 @@ static void qtrle_reset (video_decoder_t *this_gen) { this->size = 0; } +static void qtrle_discontinuity (video_decoder_t *this_gen) { +} + /* * This function frees the video decoder instance allocated to the decoder. */ @@ -856,6 +859,7 @@ static video_decoder_t *open_plugin (video_decoder_class_t *class_gen, xine_stre this->video_decoder.decode_data = qtrle_decode_data; this->video_decoder.flush = qtrle_flush; this->video_decoder.reset = qtrle_reset; + this->video_decoder.discontinuity = qtrle_discontinuity; this->video_decoder.dispose = qtrle_dispose; this->size = 0; @@ -909,6 +913,6 @@ static decoder_info_t dec_info_video = { plugin_info_t xine_plugin_info[] = { /* type, API, "name", version, special_info, init_function */ - { PLUGIN_VIDEO_DECODER, 11, "qtrle", XINE_VERSION_CODE, &dec_info_video, init_plugin }, + { PLUGIN_VIDEO_DECODER, 12, "qtrle", XINE_VERSION_CODE, &dec_info_video, init_plugin }, { PLUGIN_NONE, 0, "", 0, NULL, NULL } }; diff --git a/src/libxinevdec/qtrpza.c b/src/libxinevdec/qtrpza.c index ac01e992f..5e215acab 100644 --- a/src/libxinevdec/qtrpza.c +++ b/src/libxinevdec/qtrpza.c @@ -21,7 +21,7 @@ * For more information about the RPZA format, visit: * http://www.pcisys.net/~melanson/codecs/ * - * $Id: qtrpza.c,v 1.7 2002/11/11 05:55:51 tmmm Exp $ + * $Id: qtrpza.c,v 1.8 2002/11/12 18:40:54 miguelfreitas Exp $ */ #include <stdio.h> @@ -386,6 +386,9 @@ static void qtrpza_reset (video_decoder_t *this_gen) { this->size = 0; } +static void qtrpza_discontinuity (video_decoder_t *this_gen) { +} + /* * This function frees the video decoder instance allocated to the decoder. */ @@ -415,6 +418,7 @@ static video_decoder_t *open_plugin (video_decoder_class_t *class_gen, xine_stre this->video_decoder.decode_data = qtrpza_decode_data; this->video_decoder.flush = qtrpza_flush; this->video_decoder.reset = qtrpza_reset; + this->video_decoder.discontinuity = qtrpza_discontinuity; this->video_decoder.dispose = qtrpza_dispose; this->size = 0; @@ -463,6 +467,6 @@ static decoder_info_t video_decoder_info = { plugin_info_t xine_plugin_info[] = { /* type, API, "name", version, special_info, init_function */ - { PLUGIN_VIDEO_DECODER, 11, "rpza", XINE_VERSION_CODE, &video_decoder_info, &init_plugin }, + { PLUGIN_VIDEO_DECODER, 12, "rpza", XINE_VERSION_CODE, &video_decoder_info, &init_plugin }, { PLUGIN_NONE, 0, "", 0, NULL, NULL } }; diff --git a/src/libxinevdec/qtsmc.c b/src/libxinevdec/qtsmc.c index 76c99e5ed..a3ded3765 100644 --- a/src/libxinevdec/qtsmc.c +++ b/src/libxinevdec/qtsmc.c @@ -23,7 +23,7 @@ * For more information on the SMC format, visit: * http://www.pcisys.net/~melanson/codecs/ * - * $Id: qtsmc.c,v 1.7 2002/11/11 05:55:51 tmmm Exp $ + * $Id: qtsmc.c,v 1.8 2002/11/12 18:40:54 miguelfreitas Exp $ */ #include <stdio.h> @@ -618,6 +618,9 @@ static void qtsmc_reset (video_decoder_t *this_gen) { this->size = 0; } +static void qtsmc_discontinuity (video_decoder_t *this_gen) { +} + /* * This function frees the video decoder instance allocated to the decoder. */ @@ -647,6 +650,7 @@ static video_decoder_t *open_plugin (video_decoder_class_t *class_gen, xine_stre this->video_decoder.decode_data = qtsmc_decode_data; this->video_decoder.flush = qtsmc_flush; this->video_decoder.reset = qtsmc_reset; + this->video_decoder.discontinuity = qtsmc_discontinuity; this->video_decoder.dispose = qtsmc_dispose; this->size = 0; @@ -695,7 +699,7 @@ static decoder_info_t video_decoder_info = { plugin_info_t xine_plugin_info[] = { /* type, API, "name", version, special_info, init_function */ - { PLUGIN_VIDEO_DECODER, 11, "smc", XINE_VERSION_CODE, &video_decoder_info, &init_plugin }, + { PLUGIN_VIDEO_DECODER, 12, "smc", XINE_VERSION_CODE, &video_decoder_info, &init_plugin }, { PLUGIN_NONE, 0, "", 0, NULL, NULL } }; diff --git a/src/libxinevdec/rgb.c b/src/libxinevdec/rgb.c index 736efad71..ff7ba044c 100644 --- a/src/libxinevdec/rgb.c +++ b/src/libxinevdec/rgb.c @@ -21,7 +21,7 @@ * Actually, this decoder just converts a raw RGB image to a YUY2 map * suitable for display under xine. * - * $Id: rgb.c,v 1.10 2002/11/11 05:55:52 tmmm Exp $ + * $Id: rgb.c,v 1.11 2002/11/12 18:40:54 miguelfreitas Exp $ */ #include <stdio.h> @@ -237,6 +237,9 @@ static void rgb_reset (video_decoder_t *this_gen) { this->size = 0; } +static void rgb_discontinuity (video_decoder_t *this_gen) { +} + /* * This function frees the video decoder instance allocated to the decoder. */ @@ -265,6 +268,7 @@ static video_decoder_t *open_plugin (video_decoder_class_t *class_gen, xine_stre this->video_decoder.decode_data = rgb_decode_data; this->video_decoder.flush = rgb_flush; this->video_decoder.reset = rgb_reset; + this->video_decoder.discontinuity = rgb_discontinuity; this->video_decoder.dispose = rgb_dispose; this->size = 0; @@ -319,6 +323,6 @@ static decoder_info_t dec_info_video = { plugin_info_t xine_plugin_info[] = { /* type, API, "name", version, special_info, init_function */ - { PLUGIN_VIDEO_DECODER, 11, "rgb", XINE_VERSION_CODE, &dec_info_video, init_plugin }, + { PLUGIN_VIDEO_DECODER, 12, "rgb", XINE_VERSION_CODE, &dec_info_video, init_plugin }, { PLUGIN_NONE, 0, "", 0, NULL, NULL } }; diff --git a/src/libxinevdec/roqvideo.c b/src/libxinevdec/roqvideo.c index bc5245ae2..2c164dae7 100644 --- a/src/libxinevdec/roqvideo.c +++ b/src/libxinevdec/roqvideo.c @@ -18,7 +18,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: roqvideo.c,v 1.13 2002/11/11 05:55:52 tmmm Exp $ + * $Id: roqvideo.c,v 1.14 2002/11/12 18:40:54 miguelfreitas Exp $ */ /* And this is the header that came with the RoQ video decoder: */ @@ -504,6 +504,9 @@ static void roqvideo_flush (video_decoder_t *this_gen) { static void roqvideo_reset (video_decoder_t *this_gen) { } +static void roqvideo_discontinuity (video_decoder_t *this_gen) { +} + static void roqvideo_dispose (video_decoder_t *this_gen) { roqvideo_decoder_t *this = (roqvideo_decoder_t *) this_gen; @@ -529,6 +532,7 @@ static video_decoder_t *open_plugin (video_decoder_class_t *class_gen, xine_stre this->video_decoder.decode_data = roqvideo_decode_data; this->video_decoder.flush = roqvideo_flush; this->video_decoder.reset = roqvideo_reset; + this->video_decoder.discontinuity = roqvideo_discontinuity; this->video_decoder.dispose = roqvideo_dispose; this->size = 0; @@ -582,6 +586,6 @@ static decoder_info_t dec_info_video = { plugin_info_t xine_plugin_info[] = { /* type, API, "name", version, special_info, init_function */ - { PLUGIN_VIDEO_DECODER, 11, "roq", XINE_VERSION_CODE, &dec_info_video, init_plugin }, + { PLUGIN_VIDEO_DECODER, 12, "roq", XINE_VERSION_CODE, &dec_info_video, init_plugin }, { PLUGIN_NONE, 0, "", 0, NULL, NULL } }; diff --git a/src/libxinevdec/svq1.c b/src/libxinevdec/svq1.c index 4ea3eeaa7..161bd84d2 100644 --- a/src/libxinevdec/svq1.c +++ b/src/libxinevdec/svq1.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: svq1.c,v 1.12 2002/11/11 05:55:52 tmmm Exp $ + * $Id: svq1.c,v 1.13 2002/11/12 18:40:54 miguelfreitas Exp $ */ #include <stdio.h> @@ -1468,6 +1468,9 @@ static void svq1dec_reset (video_decoder_t *this_gen) { this->size = 0; } +static void svq1dec_discontinuity (video_decoder_t *this_gen) { +} + static void svq1dec_dispose (video_decoder_t *this_gen) { svq1dec_decoder_t *this = (svq1dec_decoder_t *) this_gen; @@ -1502,6 +1505,7 @@ static video_decoder_t *open_plugin (video_decoder_class_t *class_gen, xine_stre this->video_decoder.decode_data = svq1dec_decode_data; this->video_decoder.flush = svq1dec_flush; this->video_decoder.reset = svq1dec_reset; + this->video_decoder.discontinuity = svq1dec_discontinuity; this->video_decoder.dispose = svq1dec_dispose; this->size = 0; @@ -1558,6 +1562,6 @@ static decoder_info_t dec_info_video = { plugin_info_t xine_plugin_info[] = { /* type, API, "name", version, special_info, init_function */ - { PLUGIN_VIDEO_DECODER, 11, "svq1", XINE_VERSION_CODE, &dec_info_video, init_plugin }, + { PLUGIN_VIDEO_DECODER, 12, "svq1", XINE_VERSION_CODE, &dec_info_video, init_plugin }, { PLUGIN_NONE, 0, "", 0, NULL, NULL } }; diff --git a/src/libxinevdec/wc3video.c b/src/libxinevdec/wc3video.c index 35c5d4052..44fb4bf2a 100644 --- a/src/libxinevdec/wc3video.c +++ b/src/libxinevdec/wc3video.c @@ -22,7 +22,7 @@ * For more information on the WC3 Movie format, visit: * http://www.pcisys.net/~melanson/codecs/ * - * $Id: wc3video.c,v 1.8 2002/11/11 05:55:52 tmmm Exp $ + * $Id: wc3video.c,v 1.9 2002/11/12 18:40:54 miguelfreitas Exp $ */ #include <stdio.h> @@ -463,6 +463,9 @@ static void wc3video_reset (video_decoder_t *this_gen) { this->size = 0; } +static void wc3video_discontinuity (video_decoder_t *this_gen) { +} + /* * This function frees the video decoder instance allocated to the decoder. */ @@ -492,6 +495,7 @@ static video_decoder_t *open_plugin (video_decoder_class_t *class_gen, xine_stre this->video_decoder.decode_data = wc3video_decode_data; this->video_decoder.flush = wc3video_flush; this->video_decoder.reset = wc3video_reset; + this->video_decoder.discontinuity = wc3video_discontinuity; this->video_decoder.dispose = wc3video_dispose; this->size = 0; @@ -540,6 +544,6 @@ static decoder_info_t video_decoder_info = { plugin_info_t xine_plugin_info[] = { /* type, API, "name", version, special_info, init_function */ - { PLUGIN_VIDEO_DECODER, 11, "wc3video", XINE_VERSION_CODE, &video_decoder_info, &init_plugin }, + { PLUGIN_VIDEO_DECODER, 12, "wc3video", XINE_VERSION_CODE, &video_decoder_info, &init_plugin }, { PLUGIN_NONE, 0, "", 0, NULL, NULL } }; diff --git a/src/libxinevdec/yuv.c b/src/libxinevdec/yuv.c index 358291fe0..a73289f05 100644 --- a/src/libxinevdec/yuv.c +++ b/src/libxinevdec/yuv.c @@ -21,7 +21,7 @@ * Actually, this decoder just reorganizes chunks of raw YUV data in such * a way that xine can display them. * - * $Id: yuv.c,v 1.10 2002/11/11 05:55:52 tmmm Exp $ + * $Id: yuv.c,v 1.11 2002/11/12 18:40:54 miguelfreitas Exp $ */ #include <stdio.h> @@ -263,6 +263,9 @@ static void yuv_reset (video_decoder_t *this_gen) { this->size = 0; } +static void yuv_discontinuity (video_decoder_t *this_gen) { +} + /* * This function frees the video decoder instance allocated to the decoder. */ @@ -293,6 +296,7 @@ static video_decoder_t *open_plugin (video_decoder_class_t *class_gen, xine_stre this->video_decoder.decode_data = yuv_decode_data; this->video_decoder.flush = yuv_flush; this->video_decoder.reset = yuv_reset; + this->video_decoder.discontinuity = yuv_discontinuity; this->video_decoder.dispose = yuv_dispose; this->size = 0; @@ -349,6 +353,6 @@ static decoder_info_t dec_info_video = { plugin_info_t xine_plugin_info[] = { /* type, API, "name", version, special_info, init_function */ - { PLUGIN_VIDEO_DECODER, 11, "yuv", XINE_VERSION_CODE, &dec_info_video, init_plugin }, + { PLUGIN_VIDEO_DECODER, 12, "yuv", XINE_VERSION_CODE, &dec_info_video, init_plugin }, { PLUGIN_NONE, 0, "", 0, NULL, NULL } }; |