[mythtv-commits] mythtv commit: r24266 by markk

mythtv at cvs.mythtv.org mythtv at cvs.mythtv.org
Tue Apr 27 01:32:40 UTC 2010


      Author: markk
        Date: 2010-04-27 01:32:40 +0000 (Tue, 27 Apr 2010)
New Revision: 24266
   Changeset: http://svn.mythtv.org/trac/changeset/24266

Modified:

   branches/libmythui-osd/libs/libmythtv/NuppelVideoPlayer.cpp

Log:

Branch libmythui-osd: Improved pause/unpause handling.

Firstly, don't try and decode a frame if ffrew_skip == 0 as this causes
unnecessary seeks after the decoder has been unpaused but before the
speed change code has been triggered.

Secondly don't trigger a seek and reset when we are moving between the
pause/unpause state in normal (ie. non rewind/fastforward) playback. By
and large the image on the screen is the correct one and there is no
need to adjust the position (the potential exception is when multi-frame
deinterlacers are in use and the frame may be off by one). Any remaining
visual adjustments as playback is restarted are (I'm pretty sure)
triggered by the av sync code.

This also fixes an issue where the player would seek to the beginning of
the file and not pause when using OpenGL playback.

Refs #7650.





More information about the mythtv-commits mailing list