Commit 9f975d14 authored by Laurent Aimar's avatar Laurent Aimar

* mpeg_audio.c: removed some fprintf...

parent cfa53f69
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* mpeg_audio.c: parse MPEG audio sync info and packetize the stream * mpeg_audio.c: parse MPEG audio sync info and packetize the stream
***************************************************************************** *****************************************************************************
* Copyright (C) 2001-2003 VideoLAN * Copyright (C) 2001-2003 VideoLAN
* $Id: mpeg_audio.c,v 1.11 2003/02/18 00:51:40 fenrir Exp $ * $Id: mpeg_audio.c,v 1.12 2003/02/18 18:49:11 fenrir Exp $
* *
* Authors: Laurent Aimar <fenrir@via.ecp.fr> * Authors: Laurent Aimar <fenrir@via.ecp.fr>
* Eric Petit <titer@videolan.org> * Eric Petit <titer@videolan.org>
...@@ -203,7 +203,6 @@ static int RunDecoder( decoder_fifo_t *p_fifo ) ...@@ -203,7 +203,6 @@ static int RunDecoder( decoder_fifo_t *p_fifo )
if ( p_dec->p_fifo->b_die || p_dec->p_fifo->b_error ) break; if ( p_dec->p_fifo->b_die || p_dec->p_fifo->b_error ) break;
/* Set the Presentation Time Stamp */ /* Set the Presentation Time Stamp */
fprintf( stderr, "mpgadec pts:%lld\n", pts );
if ( pts != 0 && pts != aout_DateGet( &end_date ) ) if ( pts != 0 && pts != aout_DateGet( &end_date ) )
{ {
aout_DateSet( &end_date, pts ); aout_DateSet( &end_date, pts );
...@@ -289,7 +288,6 @@ static int RunDecoder( decoder_fifo_t *p_fifo ) ...@@ -289,7 +288,6 @@ static int RunDecoder( decoder_fifo_t *p_fifo )
byte_t p_junk[MAX_FRAME_SIZE]; byte_t p_junk[MAX_FRAME_SIZE];
int i_skip = i_current_frame_size - MAD_BUFFER_GUARD; int i_skip = i_current_frame_size - MAD_BUFFER_GUARD;
fprintf( stderr, "waiting pts\n" );
/* We've just started the stream, wait for the first PTS. */ /* We've just started the stream, wait for the first PTS. */
while( i_skip > 0 ) while( i_skip > 0 )
{ {
...@@ -392,9 +390,7 @@ static int RunDecoder( decoder_fifo_t *p_fifo ) ...@@ -392,9 +390,7 @@ static int RunDecoder( decoder_fifo_t *p_fifo )
p_buffer->i_nb_bytes = i_current_frame_size + MAD_BUFFER_GUARD; p_buffer->i_nb_bytes = i_current_frame_size + MAD_BUFFER_GUARD;
/* Send the buffer to the aout core. */ /* Send the buffer to the aout core. */
fprintf( stderr, "sending.." );
aout_DecPlay( p_dec->p_aout, p_dec->p_aout_input, p_buffer ); aout_DecPlay( p_dec->p_aout, p_dec->p_aout_input, p_buffer );
fprintf( stderr, "..done\n" );
} }
if( p_dec->p_fifo->b_error ) if( p_dec->p_fifo->b_error )
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment