[mythtv] Is this it?
Wed, 18 Sep 2002 15:49:24 -0400
I think I might have found the bug whereby watching a
recording-in-progress goes wonky when the recorder stops. I'm not at
home to actually test this out, but any correctness it might have
should be obvious to the Isaacs among you...
It appears that the frontend returns to the menu if the tv transitions
to WatchingPreRecorded, as it does after the end of recording when you
are still playing. A better fix might be to define a
WATCHING_SOMETHING() test macro (or inline, this not being C), since
there are a lot of closely related states floating around.
This represents one of at least two ways you can end up with the
player still playing even though the frontend is drawing a menu on top
of it. The other is when you fast forward off the end.
It's not obvious what WatchingOtherRecording is for. Is this for the
pip toggle? Or is this for recording one thing while watching
another? In the second case it probably belongs in the while() test,
RCS file: /var/lib/cvs/MC/mythfrontend/main.cpp,v
retrieving revision 1.23
diff -u -t -r1.23 main.cpp
--- mythfrontend/main.cpp 4 Sep 2002 06:53:54 -0000 1.23
+++ mythfrontend/main.cpp 18 Sep 2002 19:38:06 -0000
@@ -74,6 +74,7 @@
while (nextstate == kState_WatchingLiveTV ||
+ nextstate == kState_WatchingPreRecorded ||
nextstate == kState_WatchingRecording)
Grant Taylor - gtaylor<at>picante.com - http://www.picante.com/~gtaylor/
Linux Printing Website and HOWTO: http://www.linuxprinting.org/