summaryrefslogtreecommitdiff
path: root/src/libvfill/xine_decoder.c
diff options
context:
space:
mode:
authorMiguel Freitas <miguelfreitas@users.sourceforge.net>2001-12-11 15:30:05 +0000
committerMiguel Freitas <miguelfreitas@users.sourceforge.net>2001-12-11 15:30:05 +0000
commit7c6b15eb257aa005e3d01394c09ca1f48e0f7ab7 (patch)
tree58f548c3419ac4fee61fc00c5833002c400ccf43 /src/libvfill/xine_decoder.c
parent1416e359d0bfcb59d2021d3904b50dc55bbfe466 (diff)
downloadxine-lib-7c6b15eb257aa005e3d01394c09ca1f48e0f7ab7.tar.gz
xine-lib-7c6b15eb257aa005e3d01394c09ca1f48e0f7ab7.tar.bz2
audio_decoder->reset() on discontinuities
CVS patchset: 1221 CVS date: 2001/12/11 15:30:05
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;