[MPlayer-dev-eng] [PATCH] unified timing patch for H264

Reimar Döffinger Reimar.Doeffinger at gmx.de
Tue Aug 24 20:43:39 CEST 2010


On Tue, Aug 24, 2010 at 10:29:06AM +0200, Pásztor Szilárd wrote:
> I would require samples with 0-sized frames in AVIs or non-coded VOPs in mpeg4
> streams to check if they work correctly. Can anyone help me out?

Don't have samples at hand, sorry.
If you can wait if we can come up with some nice improvements
to libavcodec that would be better I think.
If not however, you can fix this while avoiding any issues by
returning the "only one field" indication only for CODEC_ID_H264 and
only if the packet size was not 0.
I haven't reviewed it properly, but
> +static const mp_image_t mpi_first_field =
> +{
> +       type: MP_IMGTYPE_NULL
> +};
even if that is valid syntax, MPlayer uses the
 .type = MP_IMGTYPE_NULL
one everywhere else.


More information about the MPlayer-dev-eng mailing list