diff options
Diffstat (limited to 'linux/drivers/media/video/video-buf-dvb.c')
-rw-r--r-- | linux/drivers/media/video/video-buf-dvb.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/linux/drivers/media/video/video-buf-dvb.c b/linux/drivers/media/video/video-buf-dvb.c index 186d7f203..94970f693 100644 --- a/linux/drivers/media/video/video-buf-dvb.c +++ b/linux/drivers/media/video/video-buf-dvb.c @@ -27,7 +27,7 @@ #include <linux/freezer.h> #endif -#include <media/video-buf.h> +#include <media/videobuf-dma-sg.h> #include <media/video-buf-dvb.h> #include "compat.h" @@ -51,6 +51,7 @@ static int videobuf_dvb_thread(void *data) struct videobuf_buffer *buf; unsigned long flags; int err; + struct videobuf_dmabuf *dma; dprintk("dvb thread started\n"); set_freezable(); @@ -71,8 +72,9 @@ static int videobuf_dvb_thread(void *data) try_to_freeze(); /* feed buffer data to demux */ + dma=videobuf_to_dma(buf); if (buf->state == STATE_DONE) - dvb_dmx_swfilter(&dvb->demux, buf->dma.vmalloc, + dvb_dmx_swfilter(&dvb->demux, dma->vmalloc, buf->size); /* requeue buffer */ |