summaryrefslogtreecommitdiff
path: root/src/input/input_v4l.c
diff options
context:
space:
mode:
authorStefan Holst <holstsn@users.sourceforge.net>2003-01-22 11:57:38 +0000
committerStefan Holst <holstsn@users.sourceforge.net>2003-01-22 11:57:38 +0000
commite68b468cf91d7ca5aa9cde1bc22e906743f63509 (patch)
treefae73b8e911ba28c33d05d0b4bfc509a5912429e /src/input/input_v4l.c
parent504bc0f339c9329229db9d02220e412d774ecf50 (diff)
downloadxine-lib-e68b468cf91d7ca5aa9cde1bc22e906743f63509.tar.gz
xine-lib-e68b468cf91d7ca5aa9cde1bc22e906743f63509.tar.bz2
logging
CVS patchset: 3988 CVS date: 2003/01/22 11:57:38
Diffstat (limited to 'src/input/input_v4l.c')
-rw-r--r--src/input/input_v4l.c5
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;
}