[mythtv] DVB: dont't use DMX_PES_VIDEO
Marcus Metzler
mocm at mocm.de
Sat Dec 4 15:19:58 UTC 2004
Hi,
I just tried mythtv with one of my budget cards and it crashed with
DVB#0 ERROR - Failed to set filter for pid 104.
(22) Invalid argument
The PID could not be set because DMX_PES_VIDEO and DMX_PES_AUDIO were
set as pes_type in struct dmx_pes_filter_params. These PES types are
only used for full featured cards and should not (but may be) accepted
by cards without decoder. They designate the PIDs to the decoder
according to the time of information they are carrying. This is not
necessary for audio cards and ,since mythtv does not seem to use the
decoder of the DVB cards, should always be set to DMX_PES_OTHER.
There is also the useless setting of
if (ioctl(fd_tmp, DMX_SET_BUFFER_SIZE, dmx_buf_size) == -1)
{
ERRNO("DMX_SET_BUFFER_SIZE failed for pid " << this_pid);
}
which can only be set for section and pes filters that are read via
the demux device and not for filters that go to DMX_OUT_TS_TAP,
i.e. the dvr device. It doesn't hurt, but may give some people the wrong
idea.
I also have a problem with the "Watch TV" function. I can see that the
backend is tuning and sending data, but the frontend just tells me
that directfb is not working and aborts. The -v all option also gives
no more information.
Marcus
--
/--------------------------------------------------------------------\
| Dr. Marcus O.C. Metzler | |
| mocm at metzlerbros.de | http://www.metzlerbros.de/ |
\--------------------------------------------------------------------/
|>>> Quis custodiet ipsos custodies <<<|
More information about the mythtv-dev
mailing list