[MPlayer-dev-eng] [PATCH] Fix yuv4mpeg output, remove spurious first frame.
Linards Ticmanis
ticmanis at gmx.de
Fri Jun 20 03:46:24 CEST 2003
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Arpi wrote:
>>"-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.
Is this a necessary thing for some deep reason? Or can it be easily
changed? (Not asking you in particular but the list as a whole)
>>+ // 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
If the change to the codecs is not easily possible, would it be good
enough to check out which codec is in use and then disable/enable the
workaround based on that?
This problem is really sort of inconsequential for "playback" -vo's but
for the streaming -vo's it's ugly.
- --
Linards Ticmanis
The Master said, "The business of laying on the colors follows the
preparation of the plain ground."
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQE+8mdvpXWZ5wbYWboRAuiRAJ95cSfUKQtwiAfs6duRjMmOHc6URQCfUbJB
01IWFEwJlciyNtTO/cymrwM=
=fhRx
-----END PGP SIGNATURE-----
More information about the MPlayer-dev-eng
mailing list