Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Steve Lhomme
VLC
Commits
e0e931e7
Commit
e0e931e7
authored
Jan 14, 2015
by
François Cartegnie
🤞
Browse files
demux: mp4: set interlacing flags
parent
1855ec49
Changes
3
Hide whitespace changes
Inline
Side-by-side
modules/demux/mp4/essetup.c
View file @
e0e931e7
...
...
@@ -221,6 +221,12 @@ int SetupVideoES( demux_t *p_demux, mp4_track_t *p_track, MP4_Box_t *p_sample )
p_track
->
fmt
.
video
.
i_sar_den
=
BOXDATA
(
p_pasp
)
->
i_vertical_spacing
;
}
const
MP4_Box_t
*
p_fiel
=
MP4_BoxGet
(
p_sample
,
"fiel"
);
if
(
p_fiel
&&
BOXDATA
(
p_fiel
)
)
{
p_track
->
i_block_flags
=
BOXDATA
(
p_fiel
)
->
i_flags
;
}
/* now see if esds is present and if so create a data packet
with decoder_specific_info */
MP4_Box_t
*
p_esds
=
MP4_BoxGet
(
p_sample
,
"esds"
);
...
...
modules/demux/mp4/mp4.c
View file @
e0e931e7
...
...
@@ -515,6 +515,8 @@ static void MP4_Block_Send( demux_t *p_demux, mp4_track_t *p_track, block_t *p_b
p_track
->
fmt
.
i_codec
);
}
p_block
->
i_flags
|=
p_track
->
i_block_flags
;
/* ASF packets in mov */
if
(
p_track
->
p_asf
)
{
...
...
modules/demux/mp4/mp4.h
View file @
e0e931e7
...
...
@@ -75,6 +75,7 @@ typedef struct
bool
b_mac_encoding
;
es_format_t
fmt
;
uint32_t
i_block_flags
;
uint8_t
rgi_chans_reordering
[
AOUT_CHAN_MAX
];
bool
b_chans_reorder
;
es_out_id_t
*
p_es
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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