summaryrefslogtreecommitdiff
path: root/src/libmpeg2/mpeg2.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/libmpeg2/mpeg2.h')
-rw-r--r--src/libmpeg2/mpeg2.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/libmpeg2/mpeg2.h b/src/libmpeg2/mpeg2.h
index 2fdbacdce..b6500d1ef 100644
--- a/src/libmpeg2/mpeg2.h
+++ b/src/libmpeg2/mpeg2.h
@@ -22,10 +22,14 @@
/* Structure for the mpeg2dec decoder */
typedef struct mpeg2dec_s {
+ xine_video_port_t * output;
+ uint32_t frame_format;
+
/* this is where we keep the state of the decoder */
struct picture_s * picture, *picture_base;
uint32_t shift;
+ int new_sequence;
int is_sequence_needed;
int is_wait_for_ip_frames;
int frames_to_drop, drop_frame;
@@ -56,7 +60,8 @@ typedef struct mpeg2dec_s {
/* initialize mpegdec with a opaque user pointer */
-void mpeg2_init (mpeg2dec_t * mpeg2dec);
+void mpeg2_init (mpeg2dec_t * mpeg2dec,
+ xine_video_port_t * output);
/* destroy everything which was allocated, shutdown the output */
void mpeg2_close (mpeg2dec_t * mpeg2dec);