summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Lampard <mlampard@users.sourceforge.net>2002-04-09 10:56:19 +0000
committerMike Lampard <mlampard@users.sourceforge.net>2002-04-09 10:56:19 +0000
commit78276079ea9d69a6160656e23e74c29133050f64 (patch)
tree36dc54b9ca92dfa28302f3a84f2b5e686ce7f798
parentc838ad4cf13d8e5c884a746888299f2a5e21b13b (diff)
downloadxine-lib-78276079ea9d69a6160656e23e74c29133050f64.tar.gz
xine-lib-78276079ea9d69a6160656e23e74c29133050f64.tar.bz2
update to Miguel's new decoder api
CVS patchset: 1701 CVS date: 2002/04/09 10:56:19
-rw-r--r--src/dxr3/dxr3_decoder.c10
1 files changed, 8 insertions, 2 deletions
diff --git a/src/dxr3/dxr3_decoder.c b/src/dxr3/dxr3_decoder.c
index 0a97b63b4..6fdc36525 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.70 2002/04/06 15:40:19 jcdutton Exp $
+ * $Id: dxr3_decoder.c,v 1.71 2002/04/09 10:56:19 mlampard Exp $
*
* dxr3 video and spu decoder plugin. Accepts the video and spu data
* from XINE and sends it directly to the corresponding dxr3 devices.
@@ -458,6 +458,11 @@ static int get_duration(int framecode, int repeat_first_field)
return duration;
}
+static void dxr3_reset(video_decoder_t *this_gen)
+{
+/* dxr3_decoder_t *this = (dxr3_decoder_t *) this_gen; */
+}
+
/* *** dxr3_flush ***
flush the dxr3's onboard buffers - but I'm not sure that this is
doing that - more testing is required.
@@ -762,7 +767,7 @@ video_decoder_t *init_video_decoder_plugin (int iface_version,
char *tmpstr;
int dashpos;
- if (iface_version != 5) {
+ if (iface_version != 6) {
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",
@@ -797,6 +802,7 @@ video_decoder_t *init_video_decoder_plugin (int iface_version,
this->video_decoder.close = dxr3_close;
this->video_decoder.get_identifier = dxr3_get_id;
this->video_decoder.flush = dxr3_flush;
+ this->video_decoder.reset = dxr3_reset;
this->video_decoder.priority = cfg->register_num(cfg,
"dxr3.decoder_priority", 10, "Dxr3: video decoder priority", NULL, NULL, NULL);