summaryrefslogtreecommitdiff
path: root/src/libxinevdec/rgb.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libxinevdec/rgb.c')
-rw-r--r--src/libxinevdec/rgb.c8
1 files changed, 6 insertions, 2 deletions
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 }
};