winegstreamer: Manually assign union variables.
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de> Signed-off-by: Andrew Eikum <aeikum@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
94fb7c3b8b
commit
4c8125601b
|
@ -286,9 +286,11 @@ void Gstreamer_transform_pad_added_wrapper(GstElement *filter, GstPad *pad, gpoi
|
|||
|
||||
gboolean query_sink_wrapper(GstPad *pad, GstObject *parent, GstQuery *query)
|
||||
{
|
||||
struct cb_data cbdata = { QUERY_SINK,
|
||||
{ .query_sink_data = {pad, parent, query} }
|
||||
};
|
||||
struct cb_data cbdata = { QUERY_SINK };
|
||||
|
||||
cbdata.u.query_sink_data.pad = pad;
|
||||
cbdata.u.query_sink_data.parent = parent;
|
||||
cbdata.u.query_sink_data.query = query;
|
||||
|
||||
call_cb(&cbdata);
|
||||
|
||||
|
|
Loading…
Reference in New Issue