Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Open sidebar
GSoC
GSoC2018
macOS
vlc
Commits
dcb6fa67
Commit
dcb6fa67
authored
Mar 11, 2018
by
François Cartegnie
🤞
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
demux: mp4: play heif movies
parent
a1cc1ad6
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
0 deletions
+5
-0
modules/demux/mp4/libmp4.c
modules/demux/mp4/libmp4.c
+1
-0
modules/demux/mp4/mp4.c
modules/demux/mp4/mp4.c
+4
-0
No files found.
modules/demux/mp4/libmp4.c
View file @
dcb6fa67
...
...
@@ -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
);
...
...
modules/demux/mp4/mp4.c
View file @
dcb6fa67
...
...
@@ -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"
)
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment