Skip to content

Commit b49400e

Browse files
authored
Fix invalid symbol in gstreamer 1.0 plugin crashing (#5059)
Signed-off-by: Rye <rye@alchemyviewer.org>
1 parent ec8dc90 commit b49400e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

indra/media_plugins/gstreamer10/llmediaimplgstreamer_syms_raw.inc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ LL_GRAB_SYM(G, false, gst_registry_fork_set_enabled, void, gboolean enabled)
3232
LL_GRAB_SYM(G, false, gst_segtrap_set_enabled, void, gboolean enabled)
3333
LL_GRAB_SYM(G, false, gst_message_parse_buffering, void, GstMessage *message, gint *percent)
3434
LL_GRAB_SYM(G, false, gst_message_parse_info, void, GstMessage *message, GError **gerror, gchar **debug)
35-
LL_GRAB_SYM(G, false, gst_element_query_position, gboolean, GstElement *element, GstFormat *format, gint64 *cur)
35+
LL_GRAB_SYM(G, false, gst_element_query_position, gboolean, GstElement *element, GstFormat format, gint64 *cur)
3636
LL_GRAB_SYM(G, false, gst_version, void, guint *major, guint *minor, guint *micro, guint *nano)
3737

3838
LL_GRAB_SYM(G, true, gst_message_parse_tag, void, GstMessage *, GstTagList **)

indra/media_plugins/gstreamer10/media_plugin_gstreamer10.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -506,7 +506,7 @@ bool MediaPluginGStreamer10::getTimePos(double &sec_out)
506506
got_position =
507507
llgst_element_query_position &&
508508
llgst_element_query_position(mPlaybin,
509-
&timefmt,
509+
timefmt,
510510
&pos);
511511
got_position = got_position
512512
&& (timefmt == GST_FORMAT_TIME);

0 commit comments

Comments
 (0)