Ignoring Hidden Characters in Pipeline Parsing
Dwight Kulkarni via gstreamer-devel <[email protected]> Wed, 11 Oct 2023 10:41:19 -0400
| Newsgroups | gmane.comp.video.gstreamer.devel |
|---|---|
| Message-ID | <CAKW2B8jWQxW7C2-Nz1T0CigjmsGcPtQyZ9s9ahV89HiC5X2gdA@mail.gmail.com> |
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