summaryrefslogtreecommitdiff
path: root/src/demuxers/demux_pes.c
diff options
context:
space:
mode:
authorGuenter Bartsch <guenter@users.sourceforge.net>2003-03-07 12:51:47 +0000
committerGuenter Bartsch <guenter@users.sourceforge.net>2003-03-07 12:51:47 +0000
commit8e59691b2a3296f45355e8da5455bd203a64243d (patch)
treed016d66b24570c808a2555532552409e5651136c /src/demuxers/demux_pes.c
parent82e24288adc9f9d6f490b0b352a5ecc5ed6f8700 (diff)
downloadxine-lib-8e59691b2a3296f45355e8da5455bd203a64243d.tar.gz
xine-lib-8e59691b2a3296f45355e8da5455bd203a64243d.tar.bz2
more work on console output cleanup
CVS patchset: 4357 CVS date: 2003/03/07 12:51:47
Diffstat (limited to 'src/demuxers/demux_pes.c')
-rw-r--r--src/demuxers/demux_pes.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/demuxers/demux_pes.c b/src/demuxers/demux_pes.c
index e09a5926f..7342ae87a 100644
--- a/src/demuxers/demux_pes.c
+++ b/src/demuxers/demux_pes.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: demux_pes.c,v 1.43 2002/12/21 12:56:45 miguelfreitas Exp $
+ * $Id: demux_pes.c,v 1.44 2003/03/07 12:51:48 guenter Exp $
*
* demultiplexer for mpeg 2 PES (Packetized Elementary Streams)
* reads streams of variable blocksizes
@@ -347,8 +347,10 @@ static void *demux_pes_loop (void *this_gen) {
xine_demux_control_end(this->xine, BUF_FLAG_END_STREAM);
}
+#ifdef LOG
printf ("demux_pes: demux loop finished (status: %d, buf:%x)\n",
this->status, w);
+#endif
this->thread_running = 0;
pthread_mutex_unlock( &this->mutex );
@@ -365,7 +367,9 @@ static void demux_pes_stop (demux_plugin_t *this_gen) {
pthread_mutex_lock( &this->mutex );
if (!this->thread_running) {
+#ifdef LOG
printf ("demux_pes: stop...ignored\n");
+#endif
pthread_mutex_unlock( &this->mutex );
return;
}