[mythtv] [PATCH] PVR350 Player timeout
Johannes
johannes-mythtv_dev at steensma.us
Sat Dec 4 03:36:45 UTC 2004
For a while now, I have experienced start up problems
when playing back video using PVR350 TV output. I had to
push the play button several times before an actual recording
would start playing.
Running the frontend with all debugging on showed that
I was getting a "Player timeout" error everytime the player
would not start.
I traced it back to ivtvdecoder.cpp, where the ivtv player
would quit because ateof was true:
bool IvtvDecoder::ReadWrite(int onlyvideo)
{
int n;
if (ateof)
return false;
which was simply because ateof had not been initialized yet.
Adding the initialization "ateof=false" to the IvtvDecoder constructer
fixed my problem.
Johannes
-------------- next part --------------
--- libs/libmythtv/ivtvdecoder.cpp.orig 2004-12-03 22:07:13.000000000 -0500
+++ libs/libmythtv/ivtvdecoder.cpp 2004-12-03 22:02:23.000000000 -0500
@@ -27,6 +27,7 @@
{
lastStartFrame = 0;
+ ateof = false;
gopset = false;
firstgoppos = 0;
prevgoppos = 0;
More information about the mythtv-dev
mailing list