Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
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-gpu
Commits
fb217d89
Commit
fb217d89
authored
Apr 04, 2005
by
Sigmund Augdal Helberg
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
es_out.c: add frame rate to stream and media info dialog when available
avi.c: make frame rate info available
parent
e5108404
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
0 deletions
+8
-0
modules/demux/avi/avi.c
modules/demux/avi/avi.c
+2
-0
src/input/es_out.c
src/input/es_out.c
+6
-0
No files found.
modules/demux/avi/avi.c
View file @
fb217d89
...
...
@@ -434,6 +434,8 @@ static int Open( vlc_object_t * p_this )
fmt
.
video
.
i_width
=
p_vids
->
p_bih
->
biWidth
;
fmt
.
video
.
i_height
=
p_vids
->
p_bih
->
biHeight
;
fmt
.
video
.
i_bits_per_pixel
=
p_vids
->
p_bih
->
biBitCount
;
fmt
.
video
.
i_frame_rate
=
tk
->
i_rate
;
fmt
.
video
.
i_frame_rate_base
=
tk
->
i_scale
;
fmt
.
i_extra
=
__MIN
(
p_vids
->
p_bih
->
biSize
-
sizeof
(
BITMAPINFOHEADER
),
p_vids
->
i_chunk_size
-
sizeof
(
BITMAPINFOHEADER
)
);
...
...
src/input/es_out.c
View file @
fb217d89
...
...
@@ -1424,6 +1424,12 @@ static void EsOutAddInfo( es_out_t *out, es_out_id_t *es )
_
(
"Display resolution"
),
"%dx%d"
,
fmt
->
video
.
i_visible_width
,
fmt
->
video
.
i_visible_height
);
if
(
fmt
->
video
.
i_frame_rate
>
0
&&
fmt
->
video
.
i_frame_rate_base
>
0
)
input_Control
(
p_input
,
INPUT_ADD_INFO
,
psz_cat
,
_
(
"Frame rate"
),
"%f"
,
(
float
)
fmt
->
video
.
i_frame_rate
/
fmt
->
video
.
i_frame_rate_base
);
break
;
case
SPU_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