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
a3f11b7f
Commit
a3f11b7f
authored
Jan 10, 2012
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
MP4: debug the Matrix parameters for the tkhd atom
Ref #2882
parent
2150d3ea
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
2 deletions
+12
-2
modules/demux/mp4/libmp4.c
modules/demux/mp4/libmp4.c
+12
-2
No files found.
modules/demux/mp4/libmp4.c
View file @
a3f11b7f
...
...
@@ -642,7 +642,8 @@ static int MP4_ReadBox_tkhd( stream_t *p_stream, MP4_Box_t *p_box )
MP4_ConvertDate2Str
(
s_modification_time
,
p_box
->
data
.
p_mvhd
->
i_modification_time
);
MP4_ConvertDate2Str
(
s_duration
,
p_box
->
data
.
p_mvhd
->
i_duration
);
msg_Dbg
(
p_stream
,
"read box:
\"
tkhd
\"
creation %s modification %s duration %s track ID %d layer %d volume %f width %f height %f"
,
msg_Dbg
(
p_stream
,
"read box:
\"
tkhd
\"
creation %s modification %s duration %s track ID %d layer %d volume %f width %f height %f. "
"Matrix: %i %i %i %i %i %i %i %i %i"
,
s_creation_time
,
s_modification_time
,
s_duration
,
...
...
@@ -650,7 +651,16 @@ static int MP4_ReadBox_tkhd( stream_t *p_stream, MP4_Box_t *p_box )
p_box
->
data
.
p_tkhd
->
i_layer
,
(
float
)
p_box
->
data
.
p_tkhd
->
i_volume
/
256
,
(
float
)
p_box
->
data
.
p_tkhd
->
i_width
/
65536
,
(
float
)
p_box
->
data
.
p_tkhd
->
i_height
/
65536
);
(
float
)
p_box
->
data
.
p_tkhd
->
i_height
/
65536
,
p_box
->
data
.
p_tkhd
->
i_matrix
[
0
],
p_box
->
data
.
p_tkhd
->
i_matrix
[
1
],
p_box
->
data
.
p_tkhd
->
i_matrix
[
2
],
p_box
->
data
.
p_tkhd
->
i_matrix
[
3
],
p_box
->
data
.
p_tkhd
->
i_matrix
[
4
],
p_box
->
data
.
p_tkhd
->
i_matrix
[
5
],
p_box
->
data
.
p_tkhd
->
i_matrix
[
6
],
p_box
->
data
.
p_tkhd
->
i_matrix
[
7
],
p_box
->
data
.
p_tkhd
->
i_matrix
[
8
]
);
#endif
MP4_READBOX_EXIT
(
1
);
}
...
...
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