Russel Winder russel at
Tue Jul 9 12:18:29 UTC 2019

On Tue, 2019-07-09 at 11:20 +0100, Russel Winder wrote:
> […]
> My current problem is though whether fields of type *gchar are actually nul
> terminate C strings or not. I believe they should be but CStr::from_ptr is
> failing to terminate indicating they are not. This would seem bad design of
> the parsing in the library if it is the case. I cannot believe the parsing
> algorithm would be bad, that nul terminated string would not be what is
> there.
> So I am in a circle of frustration. :-(

It seems that I was failing to do enough indirection, I added another level of
indirection and it now all works as it should – oh the joys of *GPtrArray. So
my test code now agrees with the GStreamer MPEG-TS library, which is good.


Dr Russel Winder      t: +44 20 7585 2200
41 Buckmaster Road    m: +44 7770 465 077
London SW11 1EN, UK   w:

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: This is a digitally signed message part
URL: <>

More information about the gstreamer-devel mailing list