mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-30 04:00:37 +00:00
matroska: Mark tag mapping tables as static const
This commit is contained in:
parent
7db758164d
commit
5b977c4fec
2 changed files with 2 additions and 2 deletions
|
@ -3631,7 +3631,7 @@ gst_matroska_demux_parse_metadata_id_simple_tag (GstMatroskaDemux * demux,
|
||||||
GstEbmlRead * ebml, GstTagList ** p_taglist)
|
GstEbmlRead * ebml, GstTagList ** p_taglist)
|
||||||
{
|
{
|
||||||
/* FIXME: check if there are more useful mappings */
|
/* FIXME: check if there are more useful mappings */
|
||||||
struct
|
static const struct
|
||||||
{
|
{
|
||||||
const gchar *matroska_tagname;
|
const gchar *matroska_tagname;
|
||||||
const gchar *gstreamer_tagname;
|
const gchar *gstreamer_tagname;
|
||||||
|
|
|
@ -2169,7 +2169,7 @@ gst_matroska_mux_write_simple_tag (const GstTagList * list, const gchar * tag,
|
||||||
gpointer data)
|
gpointer data)
|
||||||
{
|
{
|
||||||
/* TODO: more sensible tag mappings */
|
/* TODO: more sensible tag mappings */
|
||||||
struct
|
static const struct
|
||||||
{
|
{
|
||||||
const gchar *matroska_tagname;
|
const gchar *matroska_tagname;
|
||||||
const gchar *gstreamer_tagname;
|
const gchar *gstreamer_tagname;
|
||||||
|
|
Loading…
Reference in a new issue