Mailing List archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[linux-dvb] Re: Kernel OOPS



Marcus Metzler wrote:
> Johannes Stezenbach writes:
> 
>  > other hardware just as good as the av7110 cards. But IMHO VDR
>  > should use PES playback on av7110 cards, and TS playback on hardware
>  > that support it. Doing TS->PES conversion in the driver is wrong.
> 
> The TS->PES conversion is the same as the old AVPES conversion and it
> is done either way whether you are using PES or TS for playback or
> not. It is just the format that the is send via the debi interface and
> is more restricted than normal PES. The only difference to AVPES is
> that you don't need to change PES that have a certain size (<=2048
> bytes). For larger PES you will also get a conversion. For smaller PES
> you will waste some space. The problem with TS playback is the dvr
> interface which won't allow you a nonblocking write because you can`t
> give the device a feedback via the various kernel layers. This is a
> relic of the Nokia API. If you would allow TS input via the video
> device there should be no problem, but then you don't have the section
> filter mechanism and would have to add calls for setting PIDs.

The problem is not only with nonblocking, but there are also
locking bugs between video and demux device access. Just try
to write TS to dvr and then VIDEO_SLOWMOTION or VIDEO_FREEZE
-> deadlock.

If someone comes forward and fixes it so it is actually
usable, I'll shut up. But I don't see the point of keeping
a broken implementation around as a trap for someone
to fall into.

Johannes


-- 
Info:
To unsubscribe send a mail to ecartis@linuxtv.org with "unsubscribe linux-dvb" as subject.



Home | Main Index | Thread Index