From e68b468cf91d7ca5aa9cde1bc22e906743f63509 Mon Sep 17 00:00:00 2001 From: Stefan Holst Date: Wed, 22 Jan 2003 11:57:38 +0000 Subject: logging CVS patchset: 3988 CVS date: 2003/01/22 11:57:38 --- src/input/input_v4l.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src') diff --git a/src/input/input_v4l.c b/src/input/input_v4l.c index ae5dcd310..4da1523c5 100644 --- a/src/input/input_v4l.c +++ b/src/input/input_v4l.c @@ -104,7 +104,9 @@ static buf_element_t *alloc_frame (v4l_input_plugin_t *this) { #endif while (!this->frames) { +#ifdef LOG printf ("input_v4l: no frame available...\n"); +#endif pthread_cond_wait (&this->frame_freed, &this->frames_lock); } @@ -200,7 +202,10 @@ static buf_element_t *v4l_plugin_read_block (input_plugin_t *this_gen, xine_fast_memcpy (buf->content, ptr, this->frame_size); +#ifdef LOG printf("input_v4l: read block done\n"); +#endif + return buf; } -- cgit v1.2.3