[MPlayer-dev-eng] [PATCH] Fix yuv4mpeg output, remove spurious first frame.

Arpi arpi at thot.banki.hu
Fri Jun 20 01:59:43 CEST 2003


Hi,

> "-vo yuv4mpeg" currently outputs a spurious all-zero (i.e. fully

it depends on codec.
generally codec ssupoprting out-of-order decoding (like mpeg with B frames)
return empty frame as first frame. others don't.

> +    // No need to write the frame-before-the-first-frame, since it is junk.
> +    if (first_frame)
> +    {
> +      first_frame = 0;
> +      return VO_TRUE;
> +    }

this is not a fix, but an ugly workaround


A'rpi / Astral & ESP-team

--
Developer of MPlayer G2, the Movie Framework for all - http://www.MPlayerHQ.hu



More information about the MPlayer-dev-eng mailing list