mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-11 09:55:36 +00:00
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:
parent
8f4e58f16c
commit
8e30d59c6c
3 changed files with 27 additions and 10 deletions
|
@ -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>
|
2004-02-22 Benjamin Otte <otte@gnome.org>
|
||||||
|
|
||||||
reported by: Padraig O'Briain <padraig.obriain@sun.com>
|
reported by: Padraig O'Briain <padraig.obriain@sun.com>
|
||||||
|
|
14
gst/gsttag.c
14
gst/gsttag.c
|
@ -181,6 +181,16 @@ _gst_tag_initialize (void)
|
||||||
_("codec"),
|
_("codec"),
|
||||||
_("codec the data is stored in"),
|
_("codec the data is stored in"),
|
||||||
gst_tag_merge_strings_with_comma);
|
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,
|
gst_tag_register (GST_TAG_BITRATE, GST_TAG_FLAG_ENCODED,
|
||||||
G_TYPE_UINT,
|
G_TYPE_UINT,
|
||||||
_("bitrate"),
|
_("bitrate"),
|
||||||
|
@ -953,7 +963,3 @@ TAG_MERGE_FUNCS (double, gdouble)
|
||||||
|
|
||||||
#define COPY_FUNC g_strdup
|
#define COPY_FUNC g_strdup
|
||||||
TAG_MERGE_FUNCS (string, gchar *)
|
TAG_MERGE_FUNCS (string, gchar *)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -181,6 +181,16 @@ _gst_tag_initialize (void)
|
||||||
_("codec"),
|
_("codec"),
|
||||||
_("codec the data is stored in"),
|
_("codec the data is stored in"),
|
||||||
gst_tag_merge_strings_with_comma);
|
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,
|
gst_tag_register (GST_TAG_BITRATE, GST_TAG_FLAG_ENCODED,
|
||||||
G_TYPE_UINT,
|
G_TYPE_UINT,
|
||||||
_("bitrate"),
|
_("bitrate"),
|
||||||
|
@ -953,7 +963,3 @@ TAG_MERGE_FUNCS (double, gdouble)
|
||||||
|
|
||||||
#define COPY_FUNC g_strdup
|
#define COPY_FUNC g_strdup
|
||||||
TAG_MERGE_FUNCS (string, gchar *)
|
TAG_MERGE_FUNCS (string, gchar *)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue