Knowing which plugin is being used

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Knowing which plugin is being used

Russel Winder
I believe that GST_PLUGIN_PATH gives a sequence of directories in which
to look for shared libraries containing plugins. I have set:

GST_PLUGIN_PATH=/home/russel/Built/lib/gstreamer-1.0:/home/russel/Built/lib64/gstreamer-1.0

So as to cope with both Debian (lib) and Fedora (lib64) without having
to worry.

I have now a separate build of the dvbsrc stuff from gst-plugins-bad

|> ll /home/russel/Built/lib64/gstreamer-1.0
total 376
drwx------. 2 russel russel   4096 May 15 17:18 ./
drwx------. 3 russel russel   4096 May 15 17:11 ../
-rwx------. 1 russel russel 368744 May 15 17:18 libgst-dvb.so*

Hopefully this is being picked up before the normal install. The
question is what is the canonical/idiomatic way of knowing that one is
using the standalone plugin and not the one from the GStreamer
distribution?
 
--
Russel.
=============================================================================
Dr Russel Winder      t: +44 20 7585 2200   voip: sip:[hidden email]
41 Buckmaster Road    m: +44 7770 465 077   xmpp: [hidden email]
London SW11 1EN, UK   w: www.russel.org.uk  skype: russel_winder
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

signature.asc (849 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Knowing which plugin is being used

Tim Müller
On Wed, 2017-05-17 at 11:54 +0100, Russel Winder wrote:

Hi Russel,

> I believe that GST_PLUGIN_PATH gives a sequence of directories in
> which to look for shared libraries containing plugins. I have set:
>
> GST_PLUGIN_PATH=/home/russel/Built/lib/gstreamer-
> 1.0:/home/russel/Built/lib64/gstreamer-1.0
>
> (snip)
> Hopefully this is being picked up before the normal install. The
> question is what is the canonical/idiomatic way of knowing that one
> is using the standalone plugin and not the one from the GStreamer
> distribution?

gst-inspect-1.0 dvbsrc | grep Filename

should show you which one it picks up.

Cheers
 -Tim

--
Tim Müller, Centricular Ltd - http://www.centricular.com
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Knowing which plugin is being used

Russel Winder
On Wed, 2017-05-17 at 13:00 +0100, Tim Müller wrote:
>
[…]
> gst-inspect-1.0 dvbsrc | grep Filename
>
> should show you which one it picks up.

It claims my shared object, so that's splendid. Thanks.


--
Russel.
=============================================================================
Dr Russel Winder      t: +44 20 7585 2200   voip: sip:[hidden email]
41 Buckmaster Road    m: +44 7770 465 077   xmpp: [hidden email]
London SW11 1EN, UK   w: www.russel.org.uk  skype: russel_winder
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

signature.asc (849 bytes) Download Attachment