From: Ilkka Ollakka Date: Sun, 13 Jun 2010 12:20:54 +0000 (+0300) Subject: mp4: add avc1/3gp6/qt brands X-Git-Tag: 1.2.0-pre1~6204 X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=abfcb0302d9b28f3d9e09f4e4272fc522b9ef3e1;p=vlc mp4: add avc1/3gp6/qt brands I think this should be safe even if there isn't avc1 track --- diff --git a/modules/mux/mp4.c b/modules/mux/mp4.c index f459b5248f..fda0c4239f 100644 --- a/modules/mux/mp4.c +++ b/modules/mux/mp4.c @@ -204,11 +204,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;