After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 788214 - gst: API: gst_get_main_executable_path()
gst: API: gst_get_main_executable_path()
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gstreamer (core)
unspecified
Other All
: Normal enhancement
: 1.13.1
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2017-09-26 20:38 UTC by Mathieu Duponchelle
Modified: 2017-09-27 19:02 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
gst: API: gst_get_main_executable_path() (1.52 KB, patch)
2017-09-26 20:38 UTC, Mathieu Duponchelle
none Details | Review
gst: API: gst_get_main_executable_path() (1.67 KB, patch)
2017-09-27 18:48 UTC, Mathieu Duponchelle
committed Details | Review

Description Mathieu Duponchelle 2017-09-26 20:38:43 UTC
This is useful for plugins that need to inspect the
folder of the main executable in order to determine the
set of features they will expose, for example:

https://github.com/centricular/gstreamer-vst3
Comment 1 Mathieu Duponchelle 2017-09-26 20:38:47 UTC
Created attachment 360494 [details] [review]
gst: API: gst_get_main_executable_path()
Comment 2 Sebastian Dröge (slomo) 2017-09-26 22:02:49 UTC
Comment on attachment 360494 [details] [review]
gst: API: gst_get_main_executable_path()

Maybe add a comment in the docs about the special behaviour with the plugin scanner :)
Comment 3 Mathieu Duponchelle 2017-09-27 18:48:13 UTC
Created attachment 360563 [details] [review]
gst: API: gst_get_main_executable_path()

This is useful for plugins that need to inspect the
folder of the main executable in order to determine the
set of features they will expose, for example:

https://github.com/centricular/gstreamer-vst3
Comment 4 Mathieu Duponchelle 2017-09-27 18:48:42 UTC
(In reply to Sebastian Dröge (slomo) from comment #2)
> Maybe add a comment in the docs about the special behaviour with the plugin
> scanner :)

Done
Comment 5 Sebastian Dröge (slomo) 2017-09-27 18:49:44 UTC
Review of attachment 360563 [details] [review]:

Add it to the win32/common file

::: gst/gst.c
@@ +381,3 @@
+ *
+ * Returns: (transfer none): The path of the executable that
+ *   initialized GStreamer, or %NULL if it could not be determined.

Since: 1.14
Comment 6 Mathieu Duponchelle 2017-09-27 19:02:04 UTC
Attachment 360563 [details] pushed as 895bb7b - gst: API: gst_get_main_executable_path()