mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-09-16 17:10:35 +00:00
d798cc1b8d
When using g_convert, we should only pass the length of the string content (without the \0) as g_convert will only parse the real contents when changing formats. Including the \0 causes it to add another \0, increasing the string size when not needed. For example, when writting a North geo location ref entry, that should be a string with a single N letter, it would write: "N\0\0", causing the string to have size 3, instead of 2 as expected. In our case, we can pass -1 and let g_convert calculate the strlen as we don't use the length anywhere else. This fixes jifmux's tests on gst-plugins-bad. |
||
---|---|---|
.. | ||
gstexiftag.c | ||
gstid3tag.c | ||
gsttagdemux.c | ||
gsttagdemux.h | ||
gsttageditingprivate.c | ||
gsttageditingprivate.h | ||
gsttagmux.c | ||
gsttagmux.h | ||
gstvorbistag.c | ||
gstxmptag.c | ||
id3v2.3.0.txt | ||
id3v2.4.0-frames.txt | ||
id3v2.4.0-structure.txt | ||
id3v2.c | ||
id3v2.h | ||
id3v2frames.c | ||
lang-tables.dat | ||
lang.c | ||
license-translations.dict | ||
licenses-tables.dat | ||
licenses.c | ||
Makefile.am | ||
mklangtables.c | ||
mklicensestables.c | ||
tag.h | ||
tags.c | ||
xmpwriter.c | ||
xmpwriter.h |