Commit 116a88f6 authored by Ilkka Ollakka's avatar Ilkka Ollakka

mp4: add avc1/3gp6/qt brands

I think this should be safe even if there isn't avc1 track
(cherry picked from commit abfcb030)
Signed-off-by: default avatarIlkka Ollakka <ileoo@videolan.org>
parent dd56112d
......@@ -206,11 +206,13 @@ static int Open( vlc_object_t *p_this )
{
/* Now add ftyp header */
box = box_new( "ftyp" );
if( p_sys->b_3gp ) bo_add_fourcc( box, "3gp4" );
if( p_sys->b_3gp ) bo_add_fourcc( box, "3gp6" );
else bo_add_fourcc( box, "isom" );
bo_add_32be ( box, 0 );
if( p_sys->b_3gp ) bo_add_fourcc( box, "3gp4" );
else bo_add_fourcc( box, "mp41" );
bo_add_fourcc( box, "avc1" );
bo_add_fourcc( box, "qt " );
box_fix( box );
p_sys->i_pos += box->i_buffer;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment