[mythtv] [mythtv-commits] Ticket #6974: last few seconds of video are not played

Mark Spieth mark at digivation.com.au
Wed Jan 2 04:12:56 UTC 2013

On 1/2/2013 2:29 PM, Jim Stichnoth wrote:
> On Mon, Dec 31, 2012 at 6:27 AM, Mark Spieth <mark at digivation.com.au> wrote:
>> updated patch to about trunk about 1 week ago.
>> HTH
>> mark
> Mark,
> Thanks for the update.  Your patch makes no mention of
> MythPlayer::IsNearEnd(), which seems to be centrally involved with the
> problem.  How is that dealt with?
This is not necessary for this purpose.
The key functionality is in MythPlayer::EventLoop where if the Eof state 
is delayed, it doesnt stop playing until there are less than 3 frames 
remaining to be played. 3 is arbitrary of course.
The rest of the patch is to choose which mode to use for Eof processing.

Also with the change around of Eof processing back to mythplayer from 
decoderbase, some aspects of the patch may be removable but I havent 
bothered to investigate this as yet. Works as is.

Also check live tv handling. Should be the same (immediate eof mode) as 
before but havent tested this at all as its functionality I dont use.

> Jim
> _______________________________________________
> mythtv-dev mailing list
> mythtv-dev at mythtv.org
> http://www.mythtv.org/mailman/listinfo/mythtv-dev

Mark Spieth, PhD
Digivation Pty Ltd
9 Catalina Ave
Phone: +61 4 11 515717 (0411515717)
Fax: +61 3 9885 5774

More information about the mythtv-dev mailing list