[mythtv] Some ATSC channels displayed "choppy", but only on LiveTV
perveilerj at yahoo.com
Sun Oct 16 18:51:12 UTC 2005
Well I've got some good news and some bad news.
The good news is that the patch made my bad channels work correctly.
The bad news is that now my previously working channels don't :)
Similar, but not quite exactly the same, symptoms. I get the choppiness (on
the channels that used to work, but now don't), but I also get pixelation. And
my audio receiver keeps changing from Dolby Digital mode to Pro Logic. Leaving
LiveTV and coming back causes the channel to work again (until I switch again,
--- Daniel Kristjansson <danielk at cuymedia.net> wrote:
> On Sat, 2005-10-15 at 19:42 -0700, Jack Perveiler wrote:
> > I have a few ATSC channels (on my PCHDTV-3000) that act erratically when I
> > change to them in LiveTV in r7413. Various frames from the feed look just
> > When then backend changes to these channels on its own for scheduled
> > it does just fine (that is, the recordings it makes play back fine).
> > Additionally, if I change to the funky channel (which causes it to do the
> > choppiness), then exit LiveTV and return (it starts up at the last channel
> > was tuned to, the choppy one) it also plays back fine.
> > Any ideas/suggestions? Is this ticket-worthy, or am I just doing something
> > wrong?
> I think this is because RingBuffer::CalcReadAheadThresh(int) is only
> called when you start playing a stream, not when the stream changes.
> Try the attached patch...
> It may fix this problem for you...
> > Index: libs/libmythtv/avformatdecoder.cpp
> --- libs/libmythtv/avformatdecoder.cpp (revision 7486)
> +++ libs/libmythtv/avformatdecoder.cpp (working copy)
> @@ -608,8 +608,6 @@
> - ringBuffer->CalcReadAheadThresh(bitrate);
> if (!recordingHasPositionMap)
> if ((m_playbackinfo) || livetv || watchingrecording)
> @@ -981,6 +979,8 @@
> if (GetNVP()->IsErrored())
> scanerror = -1;
> + ringBuffer->CalcReadAheadThresh(bitrate);
> return scanerror;
> > _______________________________________________
> mythtv-dev mailing list
> mythtv-dev at mythtv.org
Yahoo! Music Unlimited
Access over 1 million songs. Try it free.
More information about the mythtv-dev