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 308663 - typefind function for smil content
typefind function for smil content
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins
0.8.10
Other Linux
: Normal enhancement
: 0.8.12
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2005-06-22 16:49 UTC by Akos Maroy
Modified: 2005-10-19 09:21 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
patch adding SMIL typefind support (2.72 KB, patch)
2005-06-22 16:49 UTC, Akos Maroy
reviewed Details | Review

Description Akos Maroy 2005-06-22 16:49:07 UTC
see the attached patch, it adds capabilities to typefind to recognize SMIL
content. I know there's no SMIL element at the moment, but I'm working on one,
and though I contribute this patch.
Comment 1 Akos Maroy 2005-06-22 16:49:50 UTC
Created attachment 48165 [details] [review]
patch adding SMIL typefind support
Comment 2 Tim-Philipp Müller 2005-06-25 16:13:35 UTC
I wonder if it would make sense to rewrite this to be a bit more generic, so
that it is easy to add other XML-based formats later on. For example, we could
have another function that either returns a pointer to the first element or NULL
if it's not XML or some other error occured. That could be used by other
XML-format typefind functions as well then.

Cheers
 -Tim
Comment 3 Tim-Philipp Müller 2005-10-19 09:21:39 UTC
Committed to HEAD and 0.8 branch:

2005-10-19  Tim-Philipp Muller  <tim at centricular dot net>

        * gst/typefind/gsttypefindfunctions.c: (utf8_type_find),
        (xml_check_first_element), (xml_type_find), (smil_type_find),
        (plugin_init):
          Add typefinding for SMIL and for generic XML. Based on patch by
          Akos Maroy (#308663).

 Cheers
  -Tim