summaryrefslogtreecommitdiff
path: root/src/libmpeg2/xine_decoder.c
diff options
context:
space:
mode:
authorGuenter Bartsch <guenter@users.sourceforge.net>2001-04-30 23:07:00 +0000
committerGuenter Bartsch <guenter@users.sourceforge.net>2001-04-30 23:07:00 +0000
commit28c416d618957287e261cdbec7a521ee4d30e101 (patch)
treebf74762ce43faf162b58a33b35f650ce6f307ad6 /src/libmpeg2/xine_decoder.c
parent44d0a5b25906375317025cbb82f1d80a5a9c7f2a (diff)
downloadxine-lib-28c416d618957287e261cdbec7a521ee4d30e101.tar.gz
xine-lib-28c416d618957287e261cdbec7a521ee4d30e101.tar.bz2
changed decoder storing and a file input plugin bugfix
CVS patchset: 50 CVS date: 2001/04/30 23:07:00
Diffstat (limited to 'src/libmpeg2/xine_decoder.c')
-rw-r--r--src/libmpeg2/xine_decoder.c6
1 files changed, 5 insertions, 1 deletions
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);
}