mplayer still broken
- From: Ricardo Cerqueira <v4l (at) cerqueira.org>
- Date: Sun, 26 Mar 2006 17:09:03 +0100
Hello again;
On Sun, 2006-03-26 at 02:46 +0100, Ricardo Cerqueira wrote:
> Hi hermann;
>
> OK, this problem is now visible in all of our dma sound modules. There
> have been reports for saa7134-alsa, saa7134-oss, and at least one for
> cx88-alsa. Since there isn't all that much in common for all of these
> modules, except for some v4l buffer and PCI code, the problem can
> hopefully be narrowed down pretty fast.
>
I think I found it. Can you try the attached patch to see if it makes a
difference?
Thanks;
--
RC
diff -r 7369c146a952 linux/drivers/media/video/video-buf.c
--- a/linux/drivers/media/video/video-buf.c Sun Mar 26 03:14:42 2006 +0100
+++ b/linux/drivers/media/video/video-buf.c Sun Mar 26 17:05:42 2006 +0100
(at) (at) -408,9 +408,9 (at) (at) int videobuf_pci_dma_map(struct pci_dev
struct videobuf_queue q;
q.dev=pci;
- q.ops->vb_map_sg=(vb_map_sg_t *)pci_unmap_sg;
-
- return (videobuf_dma_unmap(&q,dma));
+ q.ops->vb_map_sg=(vb_map_sg_t *)pci_map_sg;
+
+ return (videobuf_dma_map(&q,dma));
}
int videobuf_pci_dma_unmap(struct pci_dev *pci,struct videobuf_dmabuf *dma)
--
video4linux-list mailing list
Unsubscribe mailto:video4linux-list-request (at) redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list