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
49a157b1
Commit
49a157b1
authored
Nov 30, 2023
by
Zebediah Figura
Committed by
Alexandre Julliard
Dec 01, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winegstreamer: Allow videoconvert to parallelize in the parser.
We already do this for the transform.
parent
0b31c53e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
wg_parser.c
dlls/winegstreamer/wg_parser.c
+6
-0
No files found.
dlls/winegstreamer/wg_parser.c
View file @
49a157b1
...
...
@@ -870,6 +870,9 @@ static bool stream_create_post_processing_elements(GstPad *pad, struct wg_parser
||
!
append_element
(
parser
->
container
,
element
,
&
first
,
&
last
))
return
false
;
/* Let GStreamer choose a default number of threads. */
gst_util_set_object_arg
(
G_OBJECT
(
element
),
"n-threads"
,
"0"
);
/* GStreamer outputs RGB video top-down, but DirectShow expects bottom-up. */
if
(
!
(
element
=
create_element
(
"videoflip"
,
"good"
))
||
!
append_element
(
parser
->
container
,
element
,
&
first
,
&
last
))
...
...
@@ -882,6 +885,9 @@ static bool stream_create_post_processing_elements(GstPad *pad, struct wg_parser
||
!
append_element
(
parser
->
container
,
element
,
&
first
,
&
last
))
return
false
;
/* Let GStreamer choose a default number of threads. */
gst_util_set_object_arg
(
G_OBJECT
(
element
),
"n-threads"
,
"0"
);
if
(
!
link_src_to_element
(
pad
,
first
)
||
!
link_element_to_sink
(
last
,
stream
->
my_sink
))
return
false
;
}
...
...
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