gstreamer/gst-libs/gst
Thiago Santos d798cc1b8d tag: exif: do not include \0 in size passed to g_convert
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.
2011-12-15 12:08:51 -03:00
..
app Work around deprecated thread API in glib master 2011-12-04 17:16:30 +00:00
audio baseaudiosink: fix late buffer leak 2011-12-13 12:55:45 +00:00
cdda various: fix pad template leaks 2011-11-28 13:09:02 +00:00
fft various: typo fixes 2011-12-02 12:03:27 +01:00
floatcast gst/: Include glib.h instead of a specific GLib header. Including single 2008-12-10 08:19:13 +00:00
interfaces xoverlay: Fix mistakes in the sample code 2011-12-05 09:39:08 +01:00
netbuffer various: typo fixes 2011-12-02 12:03:27 +01:00
pbutils Work around deprecated thread API in glib master 2011-12-04 17:16:30 +00:00
riff libgstriff: add a couple tags that need skipping 2011-11-24 17:04:19 +00:00
rtp various: typo fixes 2011-12-02 12:03:27 +01:00
rtsp Work around deprecated thread API in glib master 2011-12-04 17:16:30 +00:00
sdp docs: handle warnings emitted by gtk-doc 2011-08-20 19:16:42 +02:00
tag tag: exif: do not include \0 in size passed to g_convert 2011-12-15 12:08:51 -03:00
video video: make composition_blend() return a boolean 2011-12-07 18:45:28 +00:00
gettext.h Fix for ENABLE_NLS being undefined for -Wundef 2010-03-16 18:06:16 +01:00
glib-compat-private.h glib-compat: Add license boilerplate for LGPL 2011-12-13 00:03:28 +00:00
gst-i18n-plugin.h *.h: Revert indenting 2004-03-15 16:32:55 +00:00
Makefile.am Work around deprecated thread API in glib master 2011-12-04 17:16:30 +00:00