MPEG-TS and Rust
sebastian at centricular.com
Mon Jul 15 19:24:36 UTC 2019
On Mon, 2019-07-15 at 20:04 +0100, Russel Winder wrote:
> I am finding that from Rust code, via gstreamer_mpegts_sys,
> gst_mpegts_descriptor_parse_dvb_component works fine if there is no text in
> the component descriptor. However as soon as there is any text in the content
> descriptor then I get a SIGSEGV from, according to the CLion stack trace:
> Has anyone any idea how to find out why there is a SIGSEGV, the code is just
> supposed to collect together n (known) bytes into a nul terminated C string.
With that little context, one would need a crystal ball to understand
what goes on here :)
You'd need to provide at least a full backtrace with line numbers and
the input, or even better a testcase to reproduce the crash you're
> I am guessing there are no tests for this C code. :-(
No, but there's tests/examples/mpegts/ts-parser.c at least using this.
Sebastian Dröge, Centricular Ltd · https://www.centricular.com
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 963 bytes
Desc: This is a digitally signed message part
More information about the gstreamer-devel