matroska: Mark tag mapping tables as static const
This commit is contained in:
parent
7db758164d
commit
5b977c4fec
@ -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…
x
Reference in New Issue
Block a user