Klaus Schmidinger wrote:

There is still a small problem with buffers running full, but I guess this is a thread problem that has nothing to do with the kfir device, since that device does deliver lots of data, while the rest of VDR is apparently not starting to process it in time. But once it has started, it runs fine.


My patch ignored the O_NONBLOCK, here's a bugfix (against kfir-2.6-driver.tar.bz2) for that, maybe it'll help.


--
Anssi Hannula
diff -Nur kfir-2.6-driver-old/driver/kfir.c kfir-2.6-driver/driver/kfir.c
--- kfir-2.6-driver-old/driver/kfir.c   2005-02-13 20:51:01.000000000 +0200
+++ kfir-2.6-driver/driver/kfir.c       2005-02-17 22:07:06.000000000 +0200
@@ -2614,7 +2614,7 @@
        struct kfir_dev *kfir = (struct kfir_dev *) dev;
        int todo = count;
        int blocksize, split;
-       int nonblock = 0;
+       int nonblock = file->f_flags & O_NONBLOCK;
        DECLARE_WAITQUEUE(wait, current);
        dbprintk(KERN_DEBUG "kfir: called kfir_read, nonblock=%d count=%d\n",
                 nonblock, count);
_______________________________________________
mpeg2 mailing list
mpeg2@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/mpeg2

Reply via email to