[gst-devel] Static linking and Auto-plugging

Luke Hart lukeh at xara.com
Tue Jul 18 12:37:33 CEST 2006


Luke Hart wrote:
> Thanks Ben, that got me some of the way towards being able to replay 
> my video file from a statically linked executable. I needed to 
> manually apply the patch to my source since I needed to use the 0.8 
> series, but other than that it worked fine. I also found I needed to 
> use the -whole-archive and --start-group command line parameters in 
> order to correctly link the executable (the -whole-archive to actually 
> link in the constructors at all).
>
> Now when I start the building of the replay graph, by changing the 
> state to pause, the file source is created and the typefind process is 
> started for the resultant stream. Unfortunately this process is unable 
> to find a suitable plugin to demux the stream, despite a suitable one 
> being statically linked (oggdemux). Is auto-plugging designed to work 
> with a statically linked version of the library, or will I have to 
> statically build the graph (which may be difficult since I'm using 
> wxMediaCtrl)? I can supply a debug trace of the auto-plug process if 
> that would help, but decided to just e-mail first in case this is just 
> not supported. Also how dependent is this process on the presence of 
> the registry, since ideally there shouldn't be a need for one, since 
> my application should just be untar-and-play.
>
> Thanks for any help,
>    Luke
Does anyone know the answer to any of my questions? I've been working on 
other parts of the project for the last few weeks and we have finally 
managed to get version 0.6 out of the door (see http://xaraxtreme.org/). 
I'm now back to working on the movie replay and would welcome any input 
anyone has.

Thanks for any help,
    Luke





More information about the gstreamer-devel mailing list