mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 17:20:36 +00:00
a06ddd182d
We do not have a way to know the format modifiers to use with string functions provided by the system. `G_GUINT64_FORMAT` and other string modifiers only work for glib string formatting functions. We cannot use them for string functions provided by the stdlib. See: https://developer.gnome.org/glib/stable/glib-Basic-Types.html#glib-Basic-Types.description F.ex. ``` ../ext/dash/gstxmlhelper.c: In function 'gst_xml_helper_get_prop_unsigned_integer_64': ../ext/dash/gstxmlhelper.c:473:40: error: unknown conversion type character 'l' in format [-Werror=format=] if (sscanf ((gchar *) prop_string, "%" G_GUINT64_FORMAT, ^~~ In file included from /builds/nirbheek/cerbero/cerbero-build/dist/windows_x86/include/glib-2.0/glib/gtypes.h:32, from /builds/nirbheek/cerbero/cerbero-build/dist/windows_x86/include/glib-2.0/glib/galloca.h:32, from /builds/nirbheek/cerbero/cerbero-build/dist/windows_x86/include/glib-2.0/glib.h:30, from /builds/nirbheek/cerbero/cerbero-build/dist/windows_x86/include/gstreamer-1.0/gst/gst.h:27, from ../ext/dash/gstxmlhelper.h:26, from ../ext/dash/gstxmlhelper.c:22: /builds/nirbheek/cerbero/cerbero-build/dist/windows_x86/lib/glib-2.0/include/glibconfig.h:69:28: note: format string is defined here #define G_GUINT64_FORMAT "llu" ^ ../ext/dash/gstxmlhelper.c:473:40: error: too many arguments for format [-Werror=format-extra-args] if (sscanf ((gchar *) prop_string, "%" G_GUINT64_FORMAT, ^~~ ``` In the process, we're also following the DASH MPD spec more closely now, which specifies that ranges must follow RFC 2616 section 14.35.1: https://tools.ietf.org/html/rfc2616#page-138 |
||
---|---|---|
.. | ||
gstdash_debug.h | ||
gstdashdemux.c | ||
gstdashdemux.h | ||
gstdashsink.c | ||
gstdashsink.h | ||
gstmpdadaptationsetnode.c | ||
gstmpdadaptationsetnode.h | ||
gstmpdbaseurlnode.c | ||
gstmpdbaseurlnode.h | ||
gstmpdclient.c | ||
gstmpdclient.h | ||
gstmpdcontentcomponentnode.c | ||
gstmpdcontentcomponentnode.h | ||
gstmpddescriptortypenode.c | ||
gstmpddescriptortypenode.h | ||
gstmpdhelper.c | ||
gstmpdhelper.h | ||
gstmpdlocationnode.c | ||
gstmpdlocationnode.h | ||
gstmpdmetricsnode.c | ||
gstmpdmetricsnode.h | ||
gstmpdmetricsrangenode.c | ||
gstmpdmetricsrangenode.h | ||
gstmpdmultsegmentbasenode.c | ||
gstmpdmultsegmentbasenode.h | ||
gstmpdnode.c | ||
gstmpdnode.h | ||
gstmpdparser.c | ||
gstmpdparser.h | ||
gstmpdperiodnode.c | ||
gstmpdperiodnode.h | ||
gstmpdprograminformationnode.c | ||
gstmpdprograminformationnode.h | ||
gstmpdreportingnode.c | ||
gstmpdreportingnode.h | ||
gstmpdrepresentationbasenode.c | ||
gstmpdrepresentationbasenode.h | ||
gstmpdrepresentationnode.c | ||
gstmpdrepresentationnode.h | ||
gstmpdrootnode.c | ||
gstmpdrootnode.h | ||
gstmpdsegmentbasenode.c | ||
gstmpdsegmentbasenode.h | ||
gstmpdsegmentlistnode.c | ||
gstmpdsegmentlistnode.h | ||
gstmpdsegmenttemplatenode.c | ||
gstmpdsegmenttemplatenode.h | ||
gstmpdsegmenttimelinenode.c | ||
gstmpdsegmenttimelinenode.h | ||
gstmpdsegmenturlnode.c | ||
gstmpdsegmenturlnode.h | ||
gstmpdsnode.c | ||
gstmpdsnode.h | ||
gstmpdsubrepresentationnode.c | ||
gstmpdsubrepresentationnode.h | ||
gstmpdsubsetnode.c | ||
gstmpdsubsetnode.h | ||
gstmpdurltypenode.c | ||
gstmpdurltypenode.h | ||
gstmpdutctimingnode.c | ||
gstmpdutctimingnode.h | ||
gstplugin.c | ||
gstxmlhelper.c | ||
gstxmlhelper.h | ||
meson.build |