[mythtv] [PATCH] Partial fix for mythtranscode segfault
Isaac Richards
ijr at po.cwru.edu
Tue Dec 2 00:31:59 EST 2003
On Monday 01 December 2003 05:59 pm, Geoffrey Hausheer wrote:
> Okay, I knoiw why the timecode doesn't get updated, but noto what to do
> about it.
>
> effectively, when doing a fast-forward, we can jump directly to the video
> frame in question (via the recordedmarkup table).
> Depending on the jump, in getFrame() pkt->pts may contain AV_NOPTS_VALUE
> (i.e. we haven't seen a sync frame...or so i assume). Since we cleared
> lastvpts during the fast-forward, we now have no timecode.
>
> The best option I can think of is to not clear lastvpts on a
> fast-forward, but that may cause some other issues, and i'm not familliar
> enough with the code to know what they are. Can someone pick this up and
> run with it? If not, the patch I posted will work fine for the
> transcoder, but I'm not sure what the ramifications would be to other
> video consumers.
Hmm.. _could_ try to generate a dummy value, based on the previous value and
how far the seek was.. Rewinding would need something similar, I'd think.
Isaac
More information about the mythtv-dev
mailing list