[FFmpeg-devel] r16159 has disabled skipping of initial non-keyframes

Michael Niedermayer michaelni
Sun Dec 21 19:45:10 CET 2008

On Sun, Dec 21, 2008 at 04:01:24PM -0000, Wolfram Gloger wrote:
> Hi,
> r16159 was this:
> -                        if (!ost->frame_number && !(pkt->flags & PKT_FLAG_KEY))
> +                        if ((!ost->frame_number && !(pkt->flags & PKT_FLAG_KEY)) && start_time)
> However, start_time is always 0 here (cf. ffmpeg.c:2811), so this has
> unconditionally disabled the skipping of non-keyframes.
> What exactly did this fix?

stream copy of files without keyframes

a patch that replaces start_time there with a new user settable variable
is welcome

Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

I count him braver who overcomes his desires than him who conquers his
enemies for the hardest victory is over self. -- Aristotle
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20081221/71614923/attachment.pgp>

More information about the ffmpeg-devel mailing list