+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>
_("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"),
_("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"),
#define COPY_FUNC g_strdup
TAG_MERGE_FUNCS (string, gchar *)
-
-
-
-
_("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"),
_("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"),
#define COPY_FUNC g_strdup
TAG_MERGE_FUNCS (string, gchar *)
-
-
-
-