GNOME Bugzilla – Bug 724255
mpegts: Provide original binary data in the public API
Last modified: 2014-02-20 16:41:25 UTC
I'm working on providing MPEG-TS PMT's in WebKit: https://bugs.webkit.org/show_bug.cgi?id=122001 Convenient, GStreamer provides the PMT. Inconveniently, it's pre-parsed. The original binary data is available, but it's marked /*< private >*/. Specifically I'm referring to GstMpegTsSection's "data" and "section_length" members. Since the data is already there, it would be nice if I could just use it. Is there any chance of either making those public, or adding functions to access them (ex: gst_mpegts_section_get_data() and gst_mpegts_section_get_length())?
Something that works nicely with bindings please, e.g. a _get_bytes() that returns a GBytes * or so.
Created attachment 268965 [details] [review] Add gst_mpegts_section_get_data() Like this?
commit cd3c3ebf0140a54625f95ae558686868edbe9a0a Author: Brendan Long <self@brendanlong.com> Date: Wed Feb 12 18:15:44 2014 -0600 mpegts: Add gst_mpegts_section_get_data, to allow us to get the original binary section data. https://bugzilla.gnome.org/show_bug.cgi?id=724255
Do you plan to include this in the 1.2.4 release?
We usually don't add API in a stable bug-fix series.