After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 758163 - Make adaptivedemux usable for external libraries
Make adaptivedemux usable for external libraries
Status: RESOLVED WONTFIX
Product: GStreamer
Classification: Platform
Component: gst-plugins-bad
git master
Other Linux
: Normal enhancement
: NONE
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2015-11-16 08:49 UTC by Jose Antonio Santos Cadenas
Modified: 2015-11-16 10:04 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Make adaptivedemux usable for external libraries (6.14 KB, patch)
2015-11-16 08:50 UTC, Jose Antonio Santos Cadenas
none Details | Review

Description Jose Antonio Santos Cadenas 2015-11-16 08:49:31 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.
Comment 1 Jose Antonio Santos Cadenas 2015-11-16 08:50:17 UTC
Created attachment 315652 [details] [review]
Make adaptivedemux usable for external libraries
Comment 2 Sebastian Dröge (slomo) 2015-11-16 08:56:01 UTC
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?
Comment 3 Jose Antonio Santos Cadenas 2015-11-16 09:11:18 UTC
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.
Comment 4 Tim-Philipp Müller 2015-11-16 09:31:23 UTC
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.
Comment 5 Tim-Philipp Müller 2015-11-16 09:32:03 UTC
* in its current state
Comment 6 Jose Antonio Santos Cadenas 2015-11-16 09:38:13 UTC
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.
Comment 7 Sebastian Dröge (slomo) 2015-11-16 09:45:36 UTC
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.
Comment 8 Jose Antonio Santos Cadenas 2015-11-16 09:59:13 UTC
Understood, thanks.

I think this can be closed.