diff options
| author | Rye <rye@alchemyviewer.org> | 2025-12-02 16:44:03 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-12-02 16:44:03 -0500 |
| commit | b49400e0882a80dd2972a31cde2152ba979b2ce4 (patch) | |
| tree | 6b0d1596d7c7026c66642530f029284862cedd8f | |
| parent | ec8dc90855dafe6abc818f1acf5f38a770009324 (diff) | |
Fix invalid symbol in gstreamer 1.0 plugin crashing (#5059)
Signed-off-by: Rye <rye@alchemyviewer.org>
| -rw-r--r-- | indra/media_plugins/gstreamer10/llmediaimplgstreamer_syms_raw.inc | 2 | ||||
| -rw-r--r-- | indra/media_plugins/gstreamer10/media_plugin_gstreamer10.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/indra/media_plugins/gstreamer10/llmediaimplgstreamer_syms_raw.inc b/indra/media_plugins/gstreamer10/llmediaimplgstreamer_syms_raw.inc index 6f5bb04bdf..e3b959f2b6 100644 --- a/indra/media_plugins/gstreamer10/llmediaimplgstreamer_syms_raw.inc +++ b/indra/media_plugins/gstreamer10/llmediaimplgstreamer_syms_raw.inc @@ -32,7 +32,7 @@ LL_GRAB_SYM(G, false, gst_registry_fork_set_enabled, void, gboolean enabled) LL_GRAB_SYM(G, false, gst_segtrap_set_enabled, void, gboolean enabled) LL_GRAB_SYM(G, false, gst_message_parse_buffering, void, GstMessage *message, gint *percent) LL_GRAB_SYM(G, false, gst_message_parse_info, void, GstMessage *message, GError **gerror, gchar **debug) -LL_GRAB_SYM(G, false, gst_element_query_position, gboolean, GstElement *element, GstFormat *format, gint64 *cur) +LL_GRAB_SYM(G, false, gst_element_query_position, gboolean, GstElement *element, GstFormat format, gint64 *cur) LL_GRAB_SYM(G, false, gst_version, void, guint *major, guint *minor, guint *micro, guint *nano) LL_GRAB_SYM(G, true, gst_message_parse_tag, void, GstMessage *, GstTagList **) diff --git a/indra/media_plugins/gstreamer10/media_plugin_gstreamer10.cpp b/indra/media_plugins/gstreamer10/media_plugin_gstreamer10.cpp index 0f45c151a2..5fdea56920 100644 --- a/indra/media_plugins/gstreamer10/media_plugin_gstreamer10.cpp +++ b/indra/media_plugins/gstreamer10/media_plugin_gstreamer10.cpp @@ -506,7 +506,7 @@ bool MediaPluginGStreamer10::getTimePos(double &sec_out) got_position = llgst_element_query_position && llgst_element_query_position(mPlaybin, - &timefmt, + timefmt, &pos); got_position = got_position && (timefmt == GST_FORMAT_TIME); |
