mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-26 04:36:20 +00:00
fix endianness issue in xml comments for 4CCs
Original commit message from CVS: fix endianness issue in xml comments for 4CCs
This commit is contained in:
parent
f10cd44abb
commit
329e7d6917
1 changed files with 2 additions and 1 deletions
|
@ -1323,7 +1323,8 @@ gst_xml_registry_save_props_func (GstPropsEntry *entry,
|
||||||
{
|
{
|
||||||
guint32 fourcc;
|
guint32 fourcc;
|
||||||
gst_props_entry_get_fourcc_int (entry, &fourcc);
|
gst_props_entry_get_fourcc_int (entry, &fourcc);
|
||||||
CLASS (xmlregistry)->save_func (xmlregistry, "<!--%4.4s-->\n", (gchar *)&fourcc);
|
CLASS (xmlregistry)->save_func (xmlregistry, "<!-- "GST_FOURCC_FORMAT" -->\n",
|
||||||
|
GST_FOURCC_ARGS (fourcc));
|
||||||
CLASS (xmlregistry)->save_func (xmlregistry, "<fourcc name=\"%s\" hexvalue=\"%08x\"/>\n", name, fourcc);
|
CLASS (xmlregistry)->save_func (xmlregistry, "<fourcc name=\"%s\" hexvalue=\"%08x\"/>\n", name, fourcc);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue