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 674845 - [PATCH] Make the PiTiVi formatter optional
[PATCH] Make the PiTiVi formatter optional
Status: RESOLVED WONTFIX
Product: GStreamer
Classification: Platform
Component: gst-editing-services
unspecified
Other All
: Normal normal
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2012-04-26 05:07 UTC by Arun Raghavan
Modified: 2012-04-26 13:17 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
formatter: Make PiTiVi formatter optional (4.91 KB, patch)
2012-04-26 05:07 UTC, Arun Raghavan
none Details | Review
android: Disable PiTiVi formatter at configure time (990 bytes, patch)
2012-04-26 05:07 UTC, Arun Raghavan
none Details | Review

Description Arun Raghavan 2012-04-26 05:07:21 UTC
We don't necessarily want the PiTiVi formatter code (and the libxml2 dep it
pulls in) on embedded platforms. I'm including a couple of patches to allow
disabling this and stubbing the related API.

I think we need to do one of the following to make this clean and
non-confusing from the client side -- either we provide the ability to check
at run-time whether support is available, or we put a big warning note that
only people who know what they're doing should be using this configure option.
Thoughts?
Comment 1 Arun Raghavan 2012-04-26 05:07:24 UTC
Created attachment 212848 [details] [review]
formatter: Make PiTiVi formatter optional

This makes the PiTiVi formatter optional by stubbing it out the API calls if
disabled. This is handy on systems where we don't want this support and wish to
avoid the additional libxml2 dependency.
Comment 2 Arun Raghavan 2012-04-26 05:07:27 UTC
Created attachment 212849 [details] [review]
android: Disable PiTiVi formatter at configure time

We don't need it and this works around the unavailability of libxml2 in the
NDK.
Comment 3 Thibault Saunier 2012-04-26 12:24:40 UTC
I am planning to rewrite the formatter using GMarkupParser as the formatter is not really high quality code and thus unmaintainable.

Note that the PiTiVi formatter is the only one that actually handles more advanced use of GES (effects, transitions...). I guess you do not need it yet though.

So we could either merge this patch for now, and when the dependency to libxml is removed, remove that option or you apply it for the android builds for now and wait for the dep to be removed.
Comment 4 Arun Raghavan 2012-04-26 13:17:04 UTC
I don't believe this is urgent enough to merit pushing and then reverting in a while. Closing this bug, then.