[gstreamer-bugs] [Bug 359237] New: typefind does not recognize XML files shorter than 256 bytes
GStreamer (bugzilla.gnome.org)
bugzilla-daemon at bugzilla.gnome.org
Tue Oct 3 03:41:36 PDT 2006
Do not reply to this via email (we are currently unable to handle email
responses and they get discarded). You can add comments to this bug at
http://bugzilla.gnome.org/show_bug.cgi?id=359237
GStreamer | gst-plugins-base | Ver: 0.8.x
Summary: typefind does not recognize XML files shorter than 256
bytes
Product: GStreamer
Version: 0.8.x
Platform: Other
OS/Version: All
Status: UNCONFIRMED
Severity: minor
Priority: Normal
Component: gst-plugins-base
AssignedTo: gstreamer-bugs at lists.sourceforge.net
ReportedBy: fgerlits at gmail.com
QAContact: gstreamer-bugs at lists.sourceforge.net
GNOME version: Unspecified
GNOME milestone: Unspecified
Please describe the problem:
In the application/xml portion of gst/typefind/gsttypefindfunctions.c, the
buffer size is set to 256. This causes gst_type_find_peek to return NULL when
an XML file shorter than 256 bytes is fed to it, and therefore the file is not
recognized as a valid XML file.
This bug is present both in the 0.8.12 version of gst-plugins, and the HEAD
version of gst-plugins-base.
Steps to reproduce:
1. Write your own XML handler plugin (for example, see the SMIL plugin in the
LiveSupport project, http://livesupport.campware.org);
2. create an XML file shorter than 256 bytes, but otherwise valid;
3. try to play it.
Actual results:
Expected results:
Does this happen every time?
Yes.
Other information:
--
Configure bugmail: http://bugzilla.gnome.org/userprefs.cgi?tab=email
More information about the Gstreamer-bugs
mailing list