From 2e29bd1fe0c87addc57755fb9812569e75cd4e39 Mon Sep 17 00:00:00 2001 From: Miguel Freitas Date: Mon, 6 Oct 2003 21:52:42 +0000 Subject: - add XvMC support - bump vo and post interface versions obs: video_out_xvmc.c needs some more work, see todo. CVS patchset: 5459 CVS date: 2003/10/06 21:52:42 --- src/libmpeg2/mpeg2.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'src/libmpeg2/mpeg2.h') 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); -- cgit v1.2.3