Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc
Commits
e0e931e7
Commit
e0e931e7
authored
Jan 14, 2015
by
Francois Cartegnie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
demux: mp4: set interlacing flags
parent
1855ec49
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
0 deletions
+9
-0
modules/demux/mp4/essetup.c
modules/demux/mp4/essetup.c
+6
-0
modules/demux/mp4/mp4.c
modules/demux/mp4/mp4.c
+2
-0
modules/demux/mp4/mp4.h
modules/demux/mp4/mp4.h
+1
-0
No files found.
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
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