summaryrefslogtreecommitdiff
path: root/src/dxr3/dxr3_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/dxr3/dxr3_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/dxr3/dxr3_decoder.c')
-rw-r--r--src/dxr3/dxr3_decoder.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/dxr3/dxr3_decoder.c b/src/dxr3/dxr3_decoder.c
index 4ce88e296..f9e8a0caa 100644
--- a/src/dxr3/dxr3_decoder.c
+++ b/src/dxr3/dxr3_decoder.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: dxr3_decoder.c,v 1.41 2001/11/26 01:12:00 hrm Exp $
+ * $Id: dxr3_decoder.c,v 1.42 2001/12/11 15:30:05 miguelfreitas Exp $
*
* dxr3 video and spu decoder plugin. Accepts the video and spu data
* from XINE and sends it directly to the corresponding dxr3 devices.
@@ -564,7 +564,7 @@ video_decoder_t *init_video_decoder_plugin (int iface_version,
{
dxr3_decoder_t *this ;
- if (iface_version != 3) {
+ if (iface_version != 4) {
printf( "dxr3: plugin doesn't support plugin API version %d.\n"
"dxr3: this means there's a version mismatch between xine and this\n"
"dxr3: decoder plugin. Installing current plugins should help.\n",
@@ -579,7 +579,7 @@ video_decoder_t *init_video_decoder_plugin (int iface_version,
this = (dxr3_decoder_t *) malloc (sizeof (dxr3_decoder_t));
- this->video_decoder.interface_version = 3;
+ this->video_decoder.interface_version = iface_version;
this->video_decoder.can_handle = dxr3_can_handle;
this->video_decoder.init = dxr3_init;
this->video_decoder.decode_data = dxr3_decode_data;