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

MythTV mythtv at cvs.mythtv.org
Thu Sep 3 14:00:59 UTC 2009


#6974: last few seconds of video are not played
------------------------------+---------------------------------------------
 Reporter:  markspieth        |        Owner:  ijr    
     Type:  enhancement       |       Status:  new    
 Priority:  minor             |    Milestone:  unknown
Component:  MythTV - General  |      Version:  unknown
 Severity:  medium            |   Resolution:         
  Mlocked:  0                 |  
------------------------------+---------------------------------------------
Description changed by markspieth:

Old description:

> when a recording or video is played, the last few seconds are not played.
>
> There are 2 reasons for this:
>
> 1. appended audio with no more video is sent and discarded but the
> audiooutput.
>
> so if not paused, feed the audio into the output buffer carefully but not
> with infinite wait.
>
> 2. eof is detected and any frames in the queue are discarded.
>
> delay eof activation until all frames are played
>
> needs some testing with unusual cases such as audio only and video only.
>
> this is another of my annoyances fixed.
>
> patch attached.

New description:

 when a recording or video is played, the last few seconds are not played.

 There are 2 reasons for this:

 1. appended audio with no more video is sent and discarded but the
 audiooutput.

 so if not paused, feed the audio into the output buffer carefully but not
 with infinite wait.

 2. eof is detected and any frames in the queue are discarded.

 delay eof activation until all frames are played

 needs some testing with unusual cases such as audio only and video only.

 also see #4359

 this is another of my annoyances fixed.

 patch attached.

--

-- 
Ticket URL: <http://svn.mythtv.org/trac/ticket/6974#comment:1>
MythTV <http://www.mythtv.org/>
MythTV


More information about the mythtv-commits mailing list