MPEG-TS

Mathieu Duponchelle mathieu at centricular.com
Tue Jul 9 13:28:28 UTC 2019


OK, not sure what the problem was exactly, but glad you fixed it :)

Also I just noted that the example in tests/examples/mpegts/ts-parser.c handles extended events,
if you have reference data and time to spare it would be nice to add an actual unit test as well
in  tests/check/libs/mpegts.c :)

On 7/9/19 2:18 PM, Russel Winder wrote:
> 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.
>
> :-)
>
>
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20190709/a7c3047d/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20190709/a7c3047d/attachment.sig>


More information about the gstreamer-devel mailing list