Browse Source

* Use correct name for windows. Fixes issue #40919

Michaël Van Canneyt 1 month ago
parent
commit
27772975cd
1 changed files with 8 additions and 1 deletions
  1. 8 1
      packages/gstreamer/src/gst.pp

+ 8 - 1
packages/gstreamer/src/gst.pp

@@ -37,7 +37,14 @@ uses glib2;
 {$ENDIF FPC_DOTTEDUNITS}
 
 const
-  gstreamerlib = 'libgstreamer-1.0'; {Setup as you need}
+  { Setup as you need } 
+
+{$ifdef Linux}
+  gstreamerlib = 'libgstreamer-1.0'; 
+{$endif}
+{$ifdef Windows}
+  gstreamerlib = 'gstreamer-1.0-0.dll';
+{$endif}
 
 Const
   GST_PADDING	=	4;