Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
92c91c4e
Commit
92c91c4e
authored
Oct 20, 2023
by
Alfred Agrell
Committed by
Alexandre Julliard
Nov 01, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winegstreamer: Include the framerate when converting video format to GstCaps.
parent
ced2b4c6
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
wg_format.c
dlls/winegstreamer/wg_format.c
+5
-0
No files found.
dlls/winegstreamer/wg_format.c
View file @
92c91c4e
...
...
@@ -477,6 +477,11 @@ static GstCaps *wg_format_to_caps_video(const struct wg_format *format)
return
NULL
;
gst_video_info_set_format
(
&
info
,
video_format
,
format
->
u
.
video
.
width
,
abs
(
format
->
u
.
video
.
height
));
if
(
format
->
u
.
video
.
fps_d
)
{
info
.
fps_n
=
format
->
u
.
video
.
fps_n
;
info
.
fps_d
=
format
->
u
.
video
.
fps_d
;
}
if
((
caps
=
gst_video_info_to_caps
(
&
info
)))
{
for
(
i
=
0
;
i
<
gst_caps_get_size
(
caps
);
++
i
)
...
...
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