[linuxtv-cvs] dvb-kernel-v4

Michael Hunold via CVS hunold at linuxtv.org
Wed Sep 14 17:39:59 CEST 2005

CVSROOT:	/cvs/linuxtv
Module name:	dvb-kernel-v4
Changes by:	hunold	20050914 17:39:59

Modified files:
	linux/drivers/media/dvb/dvb-core: demux.c memory-input.c 
	linux/include/linux/dvb: demux.h dvb.h memory.h 

Log message:
- introduce a per-device filter mutex. when a connection between a demux
and a frontend is closed, all currently active filters on that demux need
to be closed.
- split up filter release method, so it can be re-used at various places
- introduce a new DVB_DEMUX_FILTER_CLOSED state instead of relying on the
filter_handle to be NULL (which can also mean that no filter has been set
at all)
- reset recording filter upon confirmation ioctl, when an overflow has occured
- implement "exclusive section filters", which can mmap() their section
buffer for better throughput. no other section filter on the same PID can be
active, though
- fix a bug in software stc trigger implementation. the stc trigger value
was not propagated properly to any open that waited for the event to happen
- provide the basic infrastructure for  DVB_DEMUX_RECORDING_ADD_REMUX
and DVB_DEMUX_RECORDING_DEL_REMUX, ie. adding the possibility to add arbitrary
TS packets to a recording ("remuxing")
- mmap()ed buffers are released only when munmap() is called or a fd is closed.
when a filter has been shut down due to a broken connection to the frontend,
make sure that stopping the filter and releasing memory are 2 separate steps
- add some safety checks so spurious irqs resulting in demux updates to a filter
that has just been closed don't do any harm. print a warning message, though.
- introduce struct dvb_data_area which is used for memory inputs and mmap()ed
section buffers

More information about the linuxtv-cvs mailing list