[Bug 673986] [hlsdemux] port to 0.11

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Thu Apr 12 06:40:58 PDT 2012


https://bugzilla.gnome.org/show_bug.cgi?id=673986
  GStreamer | gst-plugins-bad | git

--- Comment #1 from Gil Pedersen <bugzilla.gnome at gpost.dk> 2012-04-12 13:40:55 UTC ---
Created an attachment (id=211929)
 View: https://bugzilla.gnome.org/attachment.cgi?id=211929
 Review: https://bugzilla.gnome.org/review?bug=673986&attachment=211929

port to 0.11 patch

Besides updating to use the new API's I have made a few changes to make it
work.

GstFragment:
 * Changed buffer list to plain buffer .
 * Added a caps property with type find functionality.
 * Removed unused headers functionality.

GstHLSDemux:
 * Changed processing queue to use GstFragment's instead of buffer lists.
 * Removed comment + code which says it shouldn't be required in 0.11
(untested).
 * Adapted to GstFragment returning buffers instead of buffer lists.
 * Fixed potential leak in gst_hls_src_buf_to_utf8_playlist().
 * Fixed leaking caps after type switching.

GstURIDownloader:
 * Fixed incorrect use of gst_pad_activate_mode() (was
gst_pad_activate_push()).
 * Added missing gst_pad_event_default() to gst_uri_downloader_sink_event().

Since there is no compatible MPEG-TS demuxer I have only tested it using
filesink and fakesink.
Example: gst-launch-1.0 souphttpsrc
location=http://devimages.apple.com/iphone/samples/bipbop/gear4/prog_index.m3u8
! hlsdemux ! fakesink sync=true -v

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list