[vlc-devel] [PATCH] dash: libmp4: skip meta in moov atom
Francois Cartegnie
fcvlcdev at free.fr
Fri Aug 19 11:23:10 CEST 2016
Le 19/08/2016 à 03:00, jpsaman at gmail.com a écrit :
> From: Jean-Paul Saman <jpsaman at videolan.org>
>
> MPEG DASH streams with meta in moov atom did not play while other players can.
>
> + if ( p_box->p_father &&
> + p_box->p_father->i_type == ATOM_moov ) /* moov/meta */
> + return MP4_ReadBoxContainerChildren( p_stream, p_box, NULL );
> +
Meta without handler ?
Do you have a dump tree of this one ?
> const uint32_t stoplist[] = { ATOM_hdlr, 0 };
> if ( !MP4_ReadBoxContainerChildren( p_stream, p_box, stoplist ) )
> return 0;
> @@ -3994,6 +3998,7 @@ static const struct
> { ATOM_cmov, MP4_ReadBox_cmov, 0 },
> { ATOM_mvhd, MP4_ReadBox_mvhd, ATOM_moov },
> { ATOM_mvhd, MP4_ReadBox_mvhd, ATOM_foov },
> + { ATOM_meta, MP4_ReadBox_meta, ATOM_moov },
> { ATOM_tkhd, MP4_ReadBox_tkhd, ATOM_trak },
> { ATOM_load, MP4_ReadBox_load, ATOM_trak },
> { ATOM_mdhd, MP4_ReadBox_mdhd, ATOM_mdia },
In every case, this one is not required.
Francois
More information about the vlc-devel
mailing list