Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Steve Lhomme
VLC
Commits
5a08315d
Commit
5a08315d
authored
Mar 06, 2005
by
Steve Lhomme
Browse files
mkv.cpp: support aspect ratio for video tracks
parent
05719817
Changes
1
Hide whitespace changes
Inline
Side-by-side
modules/demux/mkv.cpp
View file @
5a08315d
...
@@ -2583,6 +2583,8 @@ static void ParseTrackEntry( demux_t *p_demux, EbmlMaster *m )
...
@@ -2583,6 +2583,8 @@ static void ParseTrackEntry( demux_t *p_demux, EbmlMaster *m )
msg_Dbg
(
p_demux
,
"| | | | + Unknown (%s)"
,
typeid
(
*
l
).
name
()
);
msg_Dbg
(
p_demux
,
"| | | | + Unknown (%s)"
,
typeid
(
*
l
).
name
()
);
}
}
}
}
if
(
tk
->
fmt
.
video
.
i_visible_height
&&
tk
->
fmt
.
video
.
i_visible_width
)
tk
->
fmt
.
video
.
i_aspect
=
VOUT_ASPECT_FACTOR
*
tk
->
fmt
.
video
.
i_visible_width
/
tk
->
fmt
.
video
.
i_visible_height
;
}
}
else
if
(
MKV_IS_ID
(
l
,
KaxTrackAudio
)
)
else
if
(
MKV_IS_ID
(
l
,
KaxTrackAudio
)
)
{
{
...
...
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