gst/gsttag.c: Registering 2 new tags, audio-codec and video-codec.

Original commit message from CVS:
2004-02-22  Julien MOUTTE <julien@moutte.net>

* gst/gsttag.c: (_gst_tag_initialize): Registering 2 new tags,
audio-codec and video-codec.
This commit is contained in:
Julien Moutte 2004-02-22 21:56:00 +00:00
parent 8f4e58f16c
commit 8e30d59c6c
3 changed files with 27 additions and 10 deletions

View file

@ -1,3 +1,8 @@
2004-02-22 Julien MOUTTE <julien@moutte.net>
* gst/gsttag.c: (_gst_tag_initialize): Registering 2 new tags,
audio-codec and video-codec.
2004-02-22 Benjamin Otte <otte@gnome.org>
reported by: Padraig O'Briain <padraig.obriain@sun.com>

View file

@ -161,7 +161,7 @@ _gst_tag_initialize (void)
_("contact"),
_("contact information"),
gst_tag_merge_strings_with_comma);
gst_tag_register (GST_TAG_LICENSE, GST_TAG_FLAG_META,
gst_tag_register (GST_TAG_LICENSE, GST_TAG_FLAG_META,
G_TYPE_STRING,
_("license"),
_("license of data"),
@ -181,6 +181,16 @@ _gst_tag_initialize (void)
_("codec"),
_("codec the data is stored in"),
gst_tag_merge_strings_with_comma);
gst_tag_register (GST_TAG_VIDEO_CODEC, GST_TAG_FLAG_ENCODED,
G_TYPE_STRING,
_("video-codec"),
_("codec the video data is stored in"),
NULL);
gst_tag_register (GST_TAG_AUDIO_CODEC, GST_TAG_FLAG_ENCODED,
G_TYPE_STRING,
_("audio-codec"),
_("codec the audio data is stored in"),
NULL);
gst_tag_register (GST_TAG_BITRATE, GST_TAG_FLAG_ENCODED,
G_TYPE_UINT,
_("bitrate"),
@ -953,7 +963,3 @@ TAG_MERGE_FUNCS (double, gdouble)
#define COPY_FUNC g_strdup
TAG_MERGE_FUNCS (string, gchar *)

View file

@ -161,7 +161,7 @@ _gst_tag_initialize (void)
_("contact"),
_("contact information"),
gst_tag_merge_strings_with_comma);
gst_tag_register (GST_TAG_LICENSE, GST_TAG_FLAG_META,
gst_tag_register (GST_TAG_LICENSE, GST_TAG_FLAG_META,
G_TYPE_STRING,
_("license"),
_("license of data"),
@ -181,6 +181,16 @@ _gst_tag_initialize (void)
_("codec"),
_("codec the data is stored in"),
gst_tag_merge_strings_with_comma);
gst_tag_register (GST_TAG_VIDEO_CODEC, GST_TAG_FLAG_ENCODED,
G_TYPE_STRING,
_("video-codec"),
_("codec the video data is stored in"),
NULL);
gst_tag_register (GST_TAG_AUDIO_CODEC, GST_TAG_FLAG_ENCODED,
G_TYPE_STRING,
_("audio-codec"),
_("codec the audio data is stored in"),
NULL);
gst_tag_register (GST_TAG_BITRATE, GST_TAG_FLAG_ENCODED,
G_TYPE_UINT,
_("bitrate"),
@ -953,7 +963,3 @@ TAG_MERGE_FUNCS (double, gdouble)
#define COPY_FUNC g_strdup
TAG_MERGE_FUNCS (string, gchar *)