summaryrefslogtreecommitdiff
path: root/src/libvfill/xine_decoder.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libvfill/xine_decoder.c')
-rw-r--r--src/libvfill/xine_decoder.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libvfill/xine_decoder.c b/src/libvfill/xine_decoder.c
index bc92b74bc..286dbb580 100644
--- a/src/libvfill/xine_decoder.c
+++ b/src/libvfill/xine_decoder.c
@@ -125,7 +125,7 @@ video_decoder_t *init_video_decoder_plugin (int iface_version, config_values_t *
videofill_decoder_t *this ;
- if (iface_version != 3) {
+ if (iface_version != 4) {
printf( "videofill: plugin doesn't support plugin API version %d.\n"
"videofill: this means there's a version mismatch between xine and this "
"videofill: decoder plugin.\nInstalling current plugins should help.\n",
@@ -135,7 +135,7 @@ video_decoder_t *init_video_decoder_plugin (int iface_version, config_values_t *
this = (videofill_decoder_t *) malloc (sizeof (videofill_decoder_t));
- this->video_decoder.interface_version = 3;
+ this->video_decoder.interface_version = iface_version;
this->video_decoder.can_handle = videofill_can_handle;
this->video_decoder.init = videofill_init;
this->video_decoder.decode_data = videofill_decode_data;