GNOME Bugzilla – Bug 758163
Make adaptivedemux usable for external libraries
Last modified: 2015-11-16 10:04:13 UTC
Attached patch creates pc files for uridownloader and adaptivedemux libraries (first is required by the second) so they can be used from external projects.
Created attachment 315652 [details] [review] Make adaptivedemux usable for external libraries
The idea was actually the opposite of that: moving adaptivedemux, uridownloader and the 3 plugins into a single plugin and provide no library at all. How/why do you want to use it from external code?
Because I am experimenting creating a format that fits adptivedemux. It will be great to be able to use it until my experiments can be transformed in a plugin without having to hack the libraries to use adaptivedemux or requiring to fork it.
I'm not in favour of this. Adaptivedemux is not API we want to make available to the outside in its current change. We want to be able to change the API and the behaviour. I would suggest you just copy a private copy of it into your plugin/project and change the GType names so it doesn't conflict.
* in its current state
I think that this is understandable since GST_USE_UNSTABLE_API definition is required to use them and this is in the bad plugins repository, I think that this restrictions are not too high. Nevertheless if you keep the libraries structure as it is I can manage to generate pkgconfig files myself.
I'd still be better if you copied a version of the code to ensure you always have something that works. adaptivedemux can easily change API/ABI between versions without any notice, or disappear completely.
Understood, thanks. I think this can be closed.