diff options
author | Mauro Carvalho Chehab <mchehab@s-opensource.com> | 2018-02-09 13:30:46 +0100 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@s-opensource.com> | 2018-02-23 17:44:08 +0100 |
commit | fdbeb96258141d911ca8ba98931b9024038b84e0 (patch) | |
tree | 48e67807fb83b4e191608848a709e8ec20930dc0 /include/media/dvb_demux.h | |
parent | media: dvb: add continuity error indicators for memory mapped buffers (diff) | |
download | linux-fdbeb96258141d911ca8ba98931b9024038b84e0.tar.xz linux-fdbeb96258141d911ca8ba98931b9024038b84e0.zip |
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 'include/media/dvb_demux.h')
-rw-r--r-- | include/media/dvb_demux.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/media/dvb_demux.h b/include/media/dvb_demux.h index b07092038f4b..3b6aeca7a49e 100644 --- a/include/media/dvb_demux.h +++ b/include/media/dvb_demux.h @@ -115,6 +115,8 @@ struct dvb_demux_filter { * @pid: PID to be filtered. * @timeout: feed timeout. * @filter: pointer to &struct dvb_demux_filter. + * @buffer_flags: Buffer flags used to report discontinuity users via DVB + * memory mapped API, as defined by &enum dmx_buffer_flags. * @ts_type: type of TS, as defined by &enum ts_filter_type. * @pes_type: type of PES, as defined by &enum dmx_ts_pes. * @cc: MPEG-TS packet continuity counter @@ -145,6 +147,8 @@ struct dvb_demux_feed { ktime_t timeout; struct dvb_demux_filter *filter; + u32 buffer_flags; + enum ts_filter_type ts_type; enum dmx_ts_pes pes_type; |