[mythtv] Patch to dvbrecorder.cpp

Kenneth Aafløy lists at kenneth.aafloy.net
Sun Oct 24 21:31:52 UTC 2004


Hi,

On Sunday 24 October 2004 22:29, Matt Lovett wrote:
> I'm trying to get a dvb-t card (one of the new nova-t ones) going with
> myth, and i've found a bug in dvbrecorder.cpp. I'm not sure if it's
> worth noting, there could be other issues at play too, but it seemed
> like a good idea to note it down:
[snip]
> The fix is trivial, just copy out MPEG_TS_PKT_SIZE instead of readsz.
> Sorry it's not a diff.... but it's so simple I hope this is ok.

Yup, I belive Taylor Jacob is working on merging a lot of code in DVBRecorder 
and HDTVRecorder (which makes use of transport stream), and since the 
transport stream feature is disabled theres no point fixing this untill then.

> I noticed this as I was trawling the DVB-T code, because I'm having
> trouble tuning into some channels under myth (lots of errors about the
> stream being corrupt). However, recoding direct to disk with tzap &
> cat gives me perfect video, so there's something odd going on.

Dunno, maybe a tuning problem? Do you set the exact same parameters in tzap as 
in mythtv? I've been using the mythtv and dvb for quite some time now, and 
while there are some bugs, I've yet to see what you are describing, exept 
when the stream is really corrupt. I'm also sure that tzap+cat won't report 
those errors to you...

> What I wanted to do was turn on 'Record Transport Stream', but it's
> currently disabled in DVBRecorded::SetOption()...
[snip]
> My queston is - in what way is it broken? If there are some other deep
> issues then I guess I'll back off, but if the list don't know of any
> then I'll dust off the compiler and try re-enabling it.... but if you
> know something that I don't then please save me from wasting my time!

Try looking close to any occurence of recordts in dvbrecorder.cpp, that said, 
Taylor Jacob is working on a dvb update, so it's probably not worth starting 
to work on this now..Taylor, how is that coming along?

Kenneth


More information about the mythtv-dev mailing list