[mythtv] [PATCH] external channel changing

Curtis Wood curtis at penguinbrat.com
Sun Dec 21 13:00:42 EST 2003


   I made a patch to MythTV for smoother channel changing when using an
external app. Originally it was forking the app off into the background,
waiting for it to exit (really no waiting) and then going back to normal
operation - this made the changing channels really sloppy. I modified it
to keep the app in the foreground, and instead of waiting then and there
for it to exit, it goes back and cleans it self up on the ringbuffer
(resting it) and then waits for the app to finish. At first, I simply
changed the code, from forking the app off off into background to
keeping in the foreground - it did take a few seconds too long to change
channels, going this route it cuts that time in half (at least it seems
so). This method essentially takes the amount of time to change the
channel, and then unpause the ringbuffer to completely change channels -
total for me about 1-2 seconds.

Curtis
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mythtv-0.13-external_channel_changing.patch
Type: text/x-patch
Size: 2758 bytes
Desc: not available
Url : http://mythtv.org/pipermail/mythtv-dev/attachments/20031221/32b3ad6a/mythtv-0.13-external_channel_changing.bin


More information about the mythtv-dev mailing list