Mailing List Archive

mythtv/fixes/0.24 commit: a0bb5e9a5 by Mark Kendall (mark-kendall)
Author: Mark Kendall <mkendall@mythtv.org>
Change Date: 2011-05-02T18:09:17-07:00
Push Date: 2011/05/02 18:09:30 -0700
Repository: mythtv
Branch: fixes/0.24
New Revision: a0bb5e9a5fdbbacef3f16a1316cf30465bcf10ae
Changeset: https://github.com/MythTV/mythtv/commit/a0bb5e9a5

Log:

MythPlayer: Pause the audio when the video is lagging.

When using software decoding and the decoder is struggling to keep up,
audio sync may take a long time to recover after startup or following a
skip. Under certain conditions, playback never recovers and because we
are constantly skipping frames, the user sees no screen updates - and
hence playback looks entirely broken.

By pausing the audio when skipping frames, we allow video playback to
catch up.

Backported from afe5669be72c3c452dfb

Modified:

mythtv/libs/libmythtv/mythplayer.cpp
mythtv/libs/libmythtv/mythplayer.h

_______________________________________________
mythtv-firehose mailing list
mythtv-firehose@mythtv.org
http://www.mythtv.org/mailman/listinfo/mythtv-firehose