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
0c760ef7
Commit
0c760ef7
authored
May 17, 2023
by
Rémi Bernon
Committed by
Alexandre Julliard
May 29, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winegstreamer: Forbid vaapidecodebin when looking for a specific element.
This will eventually fallback to vaapih264dec and similar decoders if VA-API plugins are indeed available.
parent
4a2cebad
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
0 deletions
+10
-0
unixlib.c
dlls/winegstreamer/unixlib.c
+10
-0
No files found.
dlls/winegstreamer/unixlib.c
View file @
0c760ef7
...
...
@@ -101,6 +101,16 @@ GstElement *find_element(GstElementFactoryListType type, GstCaps *src_caps, GstC
for
(
tmp
=
transforms
;
tmp
!=
NULL
&&
element
==
NULL
;
tmp
=
tmp
->
next
)
{
name
=
gst_plugin_feature_get_name
(
GST_PLUGIN_FEATURE
(
tmp
->
data
));
if
(
!
strcmp
(
name
,
"vaapidecodebin"
))
{
/* vaapidecodebin adds asynchronicity which breaks wg_transform synchronous drain / flush
* requirements. Ignore it and use VA-API decoders directly instead.
*/
GST_WARNING
(
"Ignoring vaapidecodebin decoder."
);
continue
;
}
if
(
!
(
element
=
gst_element_factory_create
(
GST_ELEMENT_FACTORY
(
tmp
->
data
),
NULL
)))
GST_WARNING
(
"Failed to create %s element."
,
name
);
}
...
...
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