From abfcb0302d9b28f3d9e09f4e4272fc522b9ef3e1 Mon Sep 17 00:00:00 2001 From: Ilkka Ollakka Date: Sun, 13 Jun 2010 15:20:54 +0300 Subject: [PATCH] mp4: add avc1/3gp6/qt brands I think this should be safe even if there isn't avc1 track --- modules/mux/mp4.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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; -- 2.39.5