diff options
author | Guenter Bartsch <guenter@users.sourceforge.net> | 2001-05-22 23:07:49 +0000 |
---|---|---|
committer | Guenter Bartsch <guenter@users.sourceforge.net> | 2001-05-22 23:07:49 +0000 |
commit | 103c9964e7b2c81a2d7c073a92c46ee3d2b046d1 (patch) | |
tree | 9f4b009bea6050c1f2e3ce8f8d8301bd40bb6816 /src/xine-engine | |
parent | ad2ea2820f231dd093a48263959ca193491b8202 (diff) | |
download | xine-lib-103c9964e7b2c81a2d7c073a92c46ee3d2b046d1.tar.gz xine-lib-103c9964e7b2c81a2d7c073a92c46ee3d2b046d1.tar.bz2 |
small bugfixes, more debugging output
CVS patchset: 77
CVS date: 2001/05/22 23:07:49
Diffstat (limited to 'src/xine-engine')
-rw-r--r-- | src/xine-engine/video_decoder.c | 6 | ||||
-rw-r--r-- | src/xine-engine/video_out.c | 7 |
2 files changed, 11 insertions, 2 deletions
diff --git a/src/xine-engine/video_decoder.c b/src/xine-engine/video_decoder.c index e24d4ad4b..ebf38ded2 100644 --- a/src/xine-engine/video_decoder.c +++ b/src/xine-engine/video_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: video_decoder.c,v 1.11 2001/05/01 00:55:23 guenter Exp $ + * $Id: video_decoder.c,v 1.12 2001/05/22 23:07:49 guenter Exp $ * */ @@ -37,8 +37,12 @@ void *video_decoder_loop (void *this_gen) { while (running) { + printf ("video_decoder: get buffer\n"); + buf = this->video_fifo->get (this->video_fifo); + printf ("video_decoder: processing buffer\n"); + /* gVD.mnCurInputPos = pBuf->nInputPos; */ switch (buf->type) { diff --git a/src/xine-engine/video_out.c b/src/xine-engine/video_out.c index b42660434..f8d2da8fc 100644 --- a/src/xine-engine/video_out.c +++ b/src/xine-engine/video_out.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: video_out.c,v 1.4 2001/05/16 15:32:04 guenter Exp $ + * $Id: video_out.c,v 1.5 2001/05/22 23:07:49 guenter Exp $ * */ @@ -251,6 +251,7 @@ static void vo_open (vo_instance_t *this) { if (!this->video_loop_running) { this->video_loop_running = 1; pthread_create (&this->video_thread, NULL, video_out_loop, this) ; + printf ("video_out: thread created.\n"); } else printf ("video_out: vo_open : warning! video thread already running\n"); @@ -262,6 +263,8 @@ static vo_frame_t *vo_get_frame (vo_instance_t *this, vo_frame_t *img; + printf ("video_out: vo_get_frame\n"); + if (this->pts_per_frame != duration) { this->pts_per_frame = duration; this->pts_per_half_frame = duration / 2; @@ -281,6 +284,8 @@ static vo_frame_t *vo_get_frame (vo_instance_t *this, pthread_mutex_unlock (&img->mutex); + printf ("video_out: vo_get_frame done\n"); + return img; } |