Age | Commit message (Collapse) | Author |
|
From: Al Viro <viro@ftp.linux.org.uk>
... copy to kernel memory first
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
|
|
From: Andreas Oberritter <obi@linuxtv.org>
Previously, the macro DVR_FEED, which is used to recognize and filter
out duplicate packets going to the DVR device, used the TS_PAYLOAD_ONLY
flag to identify a packet's destination.
This kind of filtering was introduced by the following two changesets:
Now, that it is possible to record TS PIDs using the demux device by
setting the output type to DMX_OUT_TSDEMUX_TAP, checking TS_PAYLOAD_ONLY
is not sufficient anymore. Therefore another flag, TS_DEMUX, is added to
specify the output type of a feed.
This allows multiple clients to filter the same TS PID on a demux device
simultaneously.
Signed-off-by: Andreas Oberritter <obi@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
|
|
From: Alexey Dobriyan <adobriyan@gmail.com>
Typos grab bag of the month.
Eyeballed by jmc@ in OpenBSD.
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: Oliver Endriss <o.endriss@gmx.de>
|
|
Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
|
|
Fix a bug in the software demux which causes large MPEG sections to be lost
when they follow very small sections.
The problem happens when two sections begin in the same transport
packet. The dvb_demux code resets its buffer only before the first of
these sections. This means that when the second (or subsequent)
section begins, there is up to 182 bytes of buffer space already used.
If the following section is close to the maximum size, it currently
won't fit in the (4096-byte) buffer and is thrown away.
The fix is simply to enlarge the buffer by the size of one transport
packet and correct one usage of the SECFEED_SIZE definition where what
is really meant is the maximum size of a section.
Signed-off-by: Mark Adams <mark147m@gmail.com>
|
|
Signed-off-by: Andreas Oberritter <obi@linuxtv.org>
|
|
Signed-off-by: Andreas Oberritter <obi@linuxtv.org>
|
|
Signed-off-by: Andreas Oberritter <obi@linuxtv.org>
|
|
|
|
|
|
This patch contains the following possible cleanups:
- make needlessly global code static
- remove the following EXPORT_SYMBOL'ed but unused function:
- bt8xx/bt878.c: bt878_find_by_i2c_adap
- remove the following unused global functions:
- dvb-core/dvb_demux.c: dmx_get_demuxes
- dvb-core/dvb_demux.c: dvb_set_crc32
- remove the following unneeded EXPORT_SYMBOL's:
- dvb-core/dvb_demux.c: dvb_dmx_swfilter_packet
- dvb-core/dvb_demux.c: dvbdmx_connect_frontend
- dvb-core/dvb_demux.c: dvbdmx_disconnect_frontend
- dvb-core/dvbdev.c: dvb_class
Signed-off-by: Adrian Bunk <bunk@stusta.de>
|
|
|
|
- remove e-mail addresses that don't exist anymore, but of course keep the names
- change license from GPL to LGPL in dvb_i2c.h
- change license from GPL to LGPL in dvb_ringbuffer.h (needs any ack by Oliver Endriss,
no reply yet)
- add LGPL license to GPL (was destilled by me, extracted from av7110.o and dvb_compat.h)
|
|
Alan Cox reformatted the code to follow his coding style when
he fixed the merge bugs.
This patch now introduces these coding style changes, so
that we don't wipe out his changes with the next patchset.
|
|
- change some includes
|
|
"kernel shape":
I mainly changed all "typedef struct foo_s {...} foo_t"
to "struct foo {}". Please don't start a policy war, I know the pros
cons of typedefs and structures.
We should, however, stick to the coding rules of the kernel: typedefed
structs are only used for opaque data types, where the internal
representation is irrelevant and we have get()/set() functions for
accessing them (ie. spinlock_t)
|
|
nobody really needs them...
|
|
|
|
|
|
- code review + simplification
- use const pointers in section and ts callbacks
|
|
|
|
- enable crc32 check again
- add hooks for hardware accelerated memory transfer and crc32 checks
(patch contributed by Florian Schirmer)
|
|
|