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
5b24cc1a
Commit
5b24cc1a
authored
Apr 04, 2024
by
Alfred Agrell
Committed by
Alexandre Julliard
Apr 16, 2024
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winegstreamer: Create decodebin instead of avidemux.
parent
b85fff5a
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
1 addition
and
26 deletions
+1
-26
quartz_parser.c
dlls/winegstreamer/quartz_parser.c
+1
-1
unixlib.h
dlls/winegstreamer/unixlib.h
+0
-1
wg_parser.c
dlls/winegstreamer/wg_parser.c
+0
-24
No files found.
dlls/winegstreamer/quartz_parser.c
View file @
5b24cc1a
...
...
@@ -2329,7 +2329,7 @@ HRESULT avi_splitter_create(IUnknown *outer, IUnknown **out)
struct
parser
*
object
;
HRESULT
hr
;
if
(
FAILED
(
hr
=
parser_create
(
WG_PARSER_
AVIDEMUX
,
FALS
E
,
&
object
)))
if
(
FAILED
(
hr
=
parser_create
(
WG_PARSER_
DECODEBIN
,
TRU
E
,
&
object
)))
return
hr
;
strmbase_filter_init
(
&
object
->
filter
,
outer
,
&
CLSID_AviSplitter
,
&
filter_ops
);
...
...
dlls/winegstreamer/unixlib.h
View file @
5b24cc1a
...
...
@@ -201,7 +201,6 @@ typedef UINT32 wg_parser_type;
enum
wg_parser_type
{
WG_PARSER_DECODEBIN
,
WG_PARSER_AVIDEMUX
,
WG_PARSER_WAVPARSE
,
};
...
...
dlls/winegstreamer/wg_parser.c
View file @
5b24cc1a
...
...
@@ -1784,29 +1784,6 @@ static BOOL decodebin_parser_init_gst(struct wg_parser *parser)
return
TRUE
;
}
static
BOOL
avi_parser_init_gst
(
struct
wg_parser
*
parser
)
{
GstElement
*
element
;
if
(
!
(
element
=
create_element
(
"avidemux"
,
"good"
)))
return
FALSE
;
gst_bin_add
(
GST_BIN
(
parser
->
container
),
element
);
g_signal_connect
(
element
,
"pad-added"
,
G_CALLBACK
(
pad_added_cb
),
parser
);
g_signal_connect
(
element
,
"pad-removed"
,
G_CALLBACK
(
pad_removed_cb
),
parser
);
g_signal_connect
(
element
,
"no-more-pads"
,
G_CALLBACK
(
no_more_pads_cb
),
parser
);
pthread_mutex_lock
(
&
parser
->
mutex
);
parser
->
no_more_pads
=
false
;
pthread_mutex_unlock
(
&
parser
->
mutex
);
if
(
!
link_src_to_element
(
parser
->
my_src
,
element
))
return
FALSE
;
return
TRUE
;
}
static
BOOL
wave_parser_init_gst
(
struct
wg_parser
*
parser
)
{
struct
wg_parser_stream
*
stream
;
...
...
@@ -1837,7 +1814,6 @@ static NTSTATUS wg_parser_create(void *args)
static
const
init_gst_cb
init_funcs
[]
=
{
[
WG_PARSER_DECODEBIN
]
=
decodebin_parser_init_gst
,
[
WG_PARSER_AVIDEMUX
]
=
avi_parser_init_gst
,
[
WG_PARSER_WAVPARSE
]
=
wave_parser_init_gst
,
};
...
...
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