Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
c3d76ec9
Commit
c3d76ec9
authored
Feb 13, 2021
by
Zebediah Figura
Committed by
Alexandre Julliard
Feb 15, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winegstreamer: Pass the wg_parser object to gst_bus_set_sync_handler().
Signed-off-by:
Zebediah Figura
<
z.figura12@gmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
4f7e621d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
5 deletions
+4
-5
gstdemux.c
dlls/winegstreamer/gstdemux.c
+4
-5
No files found.
dlls/winegstreamer/gstdemux.c
View file @
c3d76ec9
...
...
@@ -1070,14 +1070,13 @@ static gboolean activate_mode(GstPad *pad, GstObject *parent, GstPadMode mode, g
return
FALSE
;
}
static
GstBusSyncReply
watch_bus
(
GstBus
*
bus
,
GstMessage
*
msg
,
gpointer
data
)
static
GstBusSyncReply
watch_bus
(
GstBus
*
bus
,
GstMessage
*
msg
,
gpointer
user
)
{
struct
parser
*
filter
=
data
;
struct
wg_parser
*
parser
=
filter
->
wg_parser
;
struct
wg_parser
*
parser
=
user
;
GError
*
err
=
NULL
;
gchar
*
dbg_info
=
NULL
;
GST_DEBUG
(
"
filter %p, message type %s."
,
filt
er
,
GST_MESSAGE_TYPE_NAME
(
msg
));
GST_DEBUG
(
"
parser %p, message type %s."
,
pars
er
,
GST_MESSAGE_TYPE_NAME
(
msg
));
switch
(
msg
->
type
)
{
...
...
@@ -1157,7 +1156,7 @@ static HRESULT GST_Connect(struct parser *This, IPin *pConnectPin)
if
(
!
parser
->
bus
)
{
parser
->
bus
=
gst_bus_new
();
gst_bus_set_sync_handler
(
parser
->
bus
,
watch_bus
,
This
,
NULL
);
gst_bus_set_sync_handler
(
parser
->
bus
,
watch_bus
,
parser
,
NULL
);
}
parser
->
container
=
gst_bin_new
(
NULL
);
...
...
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