summaryrefslogtreecommitdiff
path: root/src/xine-engine/video_decoder.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/xine-engine/video_decoder.h')
-rw-r--r--src/xine-engine/video_decoder.h12
1 files changed, 9 insertions, 3 deletions
diff --git a/src/xine-engine/video_decoder.h b/src/xine-engine/video_decoder.h
index 24a5f650d..022371128 100644
--- a/src/xine-engine/video_decoder.h
+++ b/src/xine-engine/video_decoder.h
@@ -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: video_decoder.h,v 1.5 2002/10/17 17:43:44 mroi Exp $
+ * $Id: video_decoder.h,v 1.6 2002/11/12 18:40:55 miguelfreitas Exp $
*
* xine video decoder plugin interface
*
@@ -29,7 +29,7 @@
#include <inttypes.h>
#include "buffer.h"
-#define VIDEO_DECODER_IFACE_VERSION 11
+#define VIDEO_DECODER_IFACE_VERSION 12
/*
* generic xine video decoder plugin interface
@@ -79,6 +79,12 @@ struct video_decoder_s {
void (*reset) (video_decoder_t *this);
/*
+ * inform decoder that a time reference discontinuity has happened.
+ * that is, it must forget any currently held pts value
+ */
+ void (*discontinuity) (video_decoder_t *this);
+
+ /*
* flush out any frames that are still stored in the decoder
*/
void (*flush) (video_decoder_t *this);
@@ -86,7 +92,7 @@ struct video_decoder_s {
/*
* close down, free all resources
*/
- void (*dispose) (video_decoder_t *this);
+ void (*dispose) (video_decoder_t *this);
void *node; /*used by plugin loader */