MPEG-TS stuff

Tim Müller tim at centricular.com
Mon Mar 21 22:03:50 UTC 2016


On Mon, 2016-03-21 at 21:48 +0000, Russel Winder wrote:

> The manual states that gst_mpegts_initialize must be called before
> any MPEG- TS activity, yet MPEG-TS using code seems to behave the
> same with or without the call.
> 
> Is it that the call happens implicitly, or that the manually is not
> telling the entire truth?

Hard to say with more details. What 'MPEG-TS using code' seems to
behave the same? You can run it in gdb and set a breakpoint to see if
it gets loaded without your doing by certain plugins that you use

The manual describes a requirement, call it an "API contract" if you
like. You must call this function before using any of the library API.
If you don't, and things don't work, that's your problem then. Even if
something works now, it might be changed in future in a way that
requires you to call the init function first.

Cheers
 -Tim

-- 
Tim Müller, Centricular Ltd - http://www.centricular.com




More information about the gstreamer-devel mailing list