[Bug 715147] tsdemux: Handle streams without PAT and/or PMT
GStreamer (bugzilla.gnome.org)
bugzilla at gnome.org
Sun Jan 5 23:14:59 PST 2014
https://bugzilla.gnome.org/show_bug.cgi?id=715147
GStreamer | gst-plugins-bad | git
--- Comment #10 from Edward Hervey <bilboed at bilboed.com> 2014-01-06 07:14:54 UTC ---
(In reply to comment #6)
> Hi Ed,
>
> that sounds good.
>
> Also I tried another approach.
>
As is that approach is not acceptable
> The code is not the nicest as I had to duplicate some function from the mpegts
> lib, but I can provide it if you want/need.
Why not just ... use that library instead of duplicating code from it ?
An acceptable change would be to have tsdemux/tsparse accept PAT/PMT as
downstream events (i.e. coming from upstream). This would also be the
longer-term way of handling fast-dvb-startup also (dvbsrc/dvbbasebin could
cache the PAT/PMT for various channels and push-them asap as in-band events to
notify tsparse/tsemux of upcoming streams).
In your case it would then end up being:
1) Create PAT/PMT sections with the mpeg-ts lib
2) Wrap them as GstEvent
3) Set/Send those events on tsdemux/tsparse
There is another bug report regarding adding support for MpegTSSsection as
GstEvent, you could re-use/extend that (and I should review it :()
--
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