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 348916 - [typefind] add multipart/x-mixed-replace typefinder
[typefind] add multipart/x-mixed-replace typefinder
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-base
0.10.x
Other Linux
: Normal normal
: 0.10.10
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2006-07-27 11:25 UTC by Sjoerd Simons
Modified: 2006-07-28 16:50 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Patch to add typefinding for mime/x-multipart-replace (2.07 KB, patch)
2006-07-27 11:27 UTC, Sjoerd Simons
committed Details | Review

Description Sjoerd Simons 2006-07-27 11:25:01 UTC
Hi, see subject.. I'll attach a patch for this :)
Comment 1 Sjoerd Simons 2006-07-27 11:27:35 UTC
Created attachment 69719 [details] [review]
Patch to add typefinding for mime/x-multipart-replace
Comment 2 Tim-Philipp Müller 2006-07-28 16:50:14 UTC
Thanks, committed:

 2006-07-28  Tim-Philipp Müller  <tim at centricular dot net>

        Patch by: Sjoerd Simons  <sjoerd at luon net>

        * gst/typefind/gsttypefindfunctions.c: (multipart_type_find),
        (plugin_init):
          Add typefind function for multipart/x-mixed-replace (#348916).

Needed to check for data==NULL after second peek as well.


Seems our multipartmux element doesn't create a stream that's recognised by this typefind function though (it has an extra \n as first byte) ...