[PATCH 3/4] winegstreamer: Print current and build version of GStreamer.

Nikolay Sivov nsivov at codeweavers.com
Tue Mar 26 00:57:35 CDT 2019


Signed-off-by: Nikolay Sivov <nsivov at codeweavers.com>
---
 dlls/winegstreamer/main.c | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/dlls/winegstreamer/main.c b/dlls/winegstreamer/main.c
index 18154fb423..fdc8966037 100644
--- a/dlls/winegstreamer/main.c
+++ b/dlls/winegstreamer/main.c
@@ -267,7 +267,7 @@ static BOOL CALLBACK init_gstreamer_proc(INIT_ONCE *once, void *param, void **ct
     int argc = 2;
     GError *err = NULL;
 
-    TRACE("initializing\n");
+    TRACE("Initializing...\n");
 
     argv[0] = argv0;
     argv[1] = argv1;
@@ -276,6 +276,10 @@ static BOOL CALLBACK init_gstreamer_proc(INIT_ONCE *once, void *param, void **ct
     if (*status)
     {
         HINSTANCE newhandle;
+
+        TRACE("Inititialized, version %s. Built with %d.%d.%d.\n", gst_version_string(),
+                GST_VERSION_MAJOR, GST_VERSION_MINOR, GST_VERSION_MICRO);
+
         /* Unloading glib is a bad idea.. it installs atexit handlers,
          * so never unload the dll after loading */
         GetModuleHandleExW(GET_MODULE_HANDLE_EX_FLAG_FROM_ADDRESS,
-- 
2.20.1




More information about the wine-devel mailing list