summaryrefslogtreecommitdiff
path: root/drivers/media/pci/ttpci/av7110.c
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@s-opensource.com>2018-02-09 15:30:46 +0300
committerMauro Carvalho Chehab <mchehab@s-opensource.com>2018-02-23 19:44:08 +0300
commitfdbeb96258141d911ca8ba98931b9024038b84e0 (patch)
tree48e67807fb83b4e191608848a709e8ec20930dc0 /drivers/media/pci/ttpci/av7110.c
parent9c171cdf22d1486da1608abd7612fabe2a8262ca (diff)
downloadlinux-fdbeb96258141d911ca8ba98931b9024038b84e0.tar.xz
media: dvb: update buffer mmaped flags and frame counter
Now that we have support for a buffer counter and for error flags, update them at DMX_DQBUF. Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'drivers/media/pci/ttpci/av7110.c')
-rw-r--r--drivers/media/pci/ttpci/av7110.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/media/pci/ttpci/av7110.c b/drivers/media/pci/ttpci/av7110.c
index dc8e577b2f74..d6816effb878 100644
--- a/drivers/media/pci/ttpci/av7110.c
+++ b/drivers/media/pci/ttpci/av7110.c
@@ -324,14 +324,15 @@ static int DvbDmxFilterCallback(u8 *buffer1, size_t buffer1_len,
}
return dvbdmxfilter->feed->cb.sec(buffer1, buffer1_len,
buffer2, buffer2_len,
- &dvbdmxfilter->filter);
+ &dvbdmxfilter->filter, NULL);
case DMX_TYPE_TS:
if (!(dvbdmxfilter->feed->ts_type & TS_PACKET))
return 0;
if (dvbdmxfilter->feed->ts_type & TS_PAYLOAD_ONLY)
return dvbdmxfilter->feed->cb.ts(buffer1, buffer1_len,
buffer2, buffer2_len,
- &dvbdmxfilter->feed->feed.ts);
+ &dvbdmxfilter->feed->feed.ts,
+ NULL);
else
av7110_p2t_write(buffer1, buffer1_len,
dvbdmxfilter->feed->pid,