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
07b57983
Commit
07b57983
authored
May 20, 2005
by
gbazin
Browse files
* modules/demux/mkv.cpp: fill-in frame rate info.
parent
4bac8299
Changes
1
Hide whitespace changes
Inline
Side-by-side
modules/demux/mkv.cpp
View file @
07b57983
...
...
@@ -4137,6 +4137,11 @@ void matroska_segment_c::ParseTrackEntry( KaxTrackEntry *m )
}
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
;
if
(
tk
->
f_fps
)
{
tk
->
fmt
.
video
.
i_frame_rate
=
(
unsigned
int
)(
tk
->
f_fps
*
1001
);
tk
->
fmt
.
video
.
i_frame_rate_base
=
1001
;
}
}
else
if
(
MKV_IS_ID
(
l
,
KaxTrackAudio
)
)
{
...
...
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