From 28c416d618957287e261cdbec7a521ee4d30e101 Mon Sep 17 00:00:00 2001 From: Guenter Bartsch Date: Mon, 30 Apr 2001 23:07:00 +0000 Subject: changed decoder storing and a file input plugin bugfix CVS patchset: 50 CVS date: 2001/04/30 23:07:00 --- src/libmpeg2/xine_decoder.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src/libmpeg2/xine_decoder.c') diff --git a/src/libmpeg2/xine_decoder.c b/src/libmpeg2/xine_decoder.c index 2892aabd9..932e59ee3 100644 --- a/src/libmpeg2/xine_decoder.c +++ b/src/libmpeg2/xine_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: xine_decoder.c,v 1.3 2001/04/29 14:32:11 guenter Exp $ + * $Id: xine_decoder.c,v 1.4 2001/04/30 23:07:00 guenter Exp $ * * stuff needed to turn libmpeg2 into a xine decoder plugin */ @@ -46,12 +46,16 @@ void mpeg2dec_init (video_decoder_t *this_gen, vo_instance_t *video_out) { mpeg2dec_decoder_t *this = (mpeg2dec_decoder_t *) this_gen; + printf ("libmpeg: initializing mpeg2dec\n"); + mpeg2_init (&this->mpeg2, video_out); } void mpeg2dec_decode_data (video_decoder_t *this_gen, buf_element_t *buf) { mpeg2dec_decoder_t *this = (mpeg2dec_decoder_t *) this_gen; + printf ("libmpeg: decoding data (pts = %d)\n", buf->PTS); + mpeg2_decode_data (&this->mpeg2, buf->content, buf->content + buf->size, buf->PTS); } -- cgit v1.2.3