[mythtv-commits] Re: Ticket #868: [8350] breaks mpeg2 decoding
during frame advance
MythTV
mythtv at cvs.mythtv.org
Sat Dec 31 17:24:24 EST 2005
#868: [8350] breaks mpeg2 decoding during frame advance
--------------------------------+-------------------------------------------
Reporter: bjm <bjm at lvcm.com> | Owner: danielk
Type: defect | Status: closed
Priority: major | Milestone: 0.19
Component: mythtv | Version: head
Severity: medium | Resolution: fixed
--------------------------------+-------------------------------------------
Changes (by danielk):
* resolution: => fixed
* status: assigned => closed
Comment:
(In [8455]) Closes #868.
This is commit is a bit of left over changes from the patch. This
refactors
DoRewindDVD() and DoRewindNormal() into a single method DoRewindSeek().
Also there is a small hack in DoFastForward() for MPEG4 NUV files. There
is an off by one error somewhere in NUV seeking, this causes the
frame-by-frame seek to get stuck in a loop sometimes (one frame in every
couple hundred it seems.) This hack prevents it from getting stuck in
that loop by simply ignoring one frame rewinds in DoFastForward(). This
is safe because DoRewind() is only called from DoFastForward() when there
is an off-by-one error, in which case we want the hack, and when we were
decoding normally before the call, in which case this hack is not
triggered
because the decoder is more than one frame ahead of the seek position.
There are still problems with seamless ringbuffer switching, but it seems
unrelated to the problems solved in this ticket or caused by [8350].
--
Ticket URL: <http://cvs.mythtv.org/trac/ticket/868>
MythTV <http://www.mythtv.org/>
MythTV
More information about the mythtv-commits
mailing list