Ignoring Hidden Characters in Pipeline Parsing

Dwight Kulkarni dwight at realtime-7.com
Wed Oct 11 14:41:19 UTC 2023


Hi all,

Recently, we are working with gstreamer and a problem came up which is not
quite a bug, but possibly it can be handled better.

The issue was there is a hidden whitespace character in the CAPS element of
the pipeline, and this is coming from a text file, somehow this pipeline in
the transfer or save of the file picked up this character.

We were seeing an error that it cannot parse the CAPS. And the exact code
is working when hardcoded.

It took a bit of time before we realized it was a hidden character which
displays as a space.

Is it possible therefore in future versions of Gstreamer, to ignore
characters which might appear as whitespace that definitely shouldn't be in
the pipeline, when parsing the text ? For example, BEL characters or NULL
characters etc.

Thanks.

-- 
Sincerely,

Dwight Kulkarni
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20231011/f1ae3ab4/attachment.htm>


More information about the gstreamer-devel mailing list