diff options
-rw-r--r-- | src/input/input_v4l.c | 5 |
1 files changed, 5 insertions, 0 deletions
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; } |