From 5caae571ccadaaf00a90d4ec321c5ab4b4cc4191 Mon Sep 17 00:00:00 2001 From: Miguel Freitas Date: Tue, 12 Nov 2002 18:40:50 +0000 Subject: 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 --- src/libxinevdec/msvc.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'src/libxinevdec/msvc.c') 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 @@ -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 } }; -- cgit v1.2.3