Commit dcb6fa67 authored by François Cartegnie's avatar François Cartegnie 🤞

demux: mp4: play heif movies

parent a1cc1ad6
......@@ -4690,6 +4690,7 @@ static int MP4_ReadBox_default( stream_t *p_stream, MP4_Box_t *p_box )
case ATOM_soun:
return MP4_ReadBox_sample_soun( p_stream, p_box );
case ATOM_vide:
case ATOM_pict: /* heif */
return MP4_ReadBox_sample_vide( p_stream, p_box );
case ATOM_hint:
return MP4_ReadBox_sample_hint8( p_stream, p_box );
......
......@@ -3329,6 +3329,10 @@ static void MP4_TrackSetup( demux_t *p_demux, mp4_track_t *p_track,
es_format_Change( &p_track->fmt, AUDIO_ES, 0 );
break;
case( ATOM_pict ): /* heif */
es_format_Change( &p_track->fmt, VIDEO_ES, 0 );
break;
case( ATOM_vide ):
if( !MP4_BoxGet( p_box_trak, "mdia/minf/vmhd") )
{
......
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