[mythtv-users] 8 seconds to change channel on a PVR350? normal

Matthias Badaire mbadaire20 at yahoo.fr
Tue Mar 9 17:44:56 EST 2004


Yeah I got that too
I fixed it with this 

-------------- next part --------------
--- ./mythtv/libs/libmythtv/ivtvdecoder.cpp.orig	2004-02-26 00:58:56.000000000 +0000
+++ ./mythtv/libs/libmythtv/ivtvdecoder.cpp	2004-02-26 00:59:14.000000000 +0000
@@ -75,8 +75,8 @@
     videoout->Start(0, skipframes+5);
     videoout->Pause();
 
-    while (ReadWrite(1, 0))
-        ;
+   // while (ReadWrite(1, 0))
+   //     ;
     while (!videoout->GetFramesPlayed() && !ateof)
         ReadWrite(1, 0);
 
-------------- next part --------------

I never posted it before because it is an ugly hack and I am not quite sure why we should need those line on first place (I suppose to empty the card video buffer)

Anyway it has been working nicely for 1 month with this for me.

M

Niklas Brunlid <nbr at ticalc.org> writes:

> I know this issue has been beaten to death so many times that it's not
> funny, but I just wanted to ask if a 7-8 second delay is normal for
> changing channels on a PVR350? Reading the archives make me believe it
> should be in the 2-3 seconds range... but I also find (like many others)
> that I simply cannot fast-forward to any point further than 4-5 seconds
> behind real time, which I assume is the cause of the first problem and
> also a safety delay for software encoders. If so, is this changeable
> somewhere in the settings, or defined in a header file somewhere?
>
> Of major importance here is that the 350 is hooked directly to my analogue
> cable, so there's no delay for external tuners.
>
> This is all on v0.14 BTW. Simply haven't had enough free time from
> work'n'stuff to even attempt the CVS yet. :)
>
> Also, I just read in the archives (which is a goldmine with well-hidden
> nuggets) that switching from ext3 (which I currently use) to f.x. ReiserFS
> can make a big difference here, as well as save quite a few bytes on the
> /mnt/myth/store partition... which will have to wait until tomorrow since
> it's currently 3 in the morning and experience tells me not to change
> filesystems on 140GB partitions when the brain is not all there. =)
>
> Sorry for rambling on, but maybe all of this can be helpful for someone
> else...
>
> / Niklas


More information about the mythtv-users mailing list