diff options
author | Mark Nauwelaerts <mark.nauwelaerts@collabora.co.uk> | 2012-09-14 17:08:49 +0200 |
---|---|---|
committer | Mark Nauwelaerts <mark.nauwelaerts@collabora.co.uk> | 2012-09-14 17:27:49 +0200 |
commit | 578861abeab76704b98d377f69e136f8431dc4ab (patch) | |
tree | 56acc109a822cc72f9709d30e99c049501ac5404 /sys | |
parent | f2191d403c47dda65836e72686a94a94f2dcc0bc (diff) | |
download | gstreamer-plugins-bad-578861abeab76704b98d377f69e136f8431dc4ab.tar.gz |
replace gst_element_class_set_details_simple with gst_element_class_set_metadata
Diffstat (limited to 'sys')
47 files changed, 48 insertions, 48 deletions
diff --git a/sys/acmenc/acmenc.c b/sys/acmenc/acmenc.c index aa93414c5..6e2eabda9 100644 --- a/sys/acmenc/acmenc.c +++ b/sys/acmenc/acmenc.c @@ -494,7 +494,7 @@ acmenc_base_init (ACMEncClass * klass) && *shortname) ? shortname : params->name); description = g_strdup_printf ("ACM Encoder: %s", (longname && *longname) ? longname : params->name); - gst_element_class_set_details_simple (element_class, detail, + gst_element_class_set_metadata (element_class, detail, "Codec/Encoder/Audio", description, "Pioneers of the Inevitable <songbird@songbirdnest.com>"); g_free (shortname); diff --git a/sys/acmmp3dec/acmmp3dec.c b/sys/acmmp3dec/acmmp3dec.c index 7e50a0314..3c1b3bcfb 100644 --- a/sys/acmmp3dec/acmmp3dec.c +++ b/sys/acmmp3dec/acmmp3dec.c @@ -409,7 +409,7 @@ acmmp3dec_base_init (gpointer klass) gst_static_pad_template_get (&acmmp3dec_sink_template)); gst_element_class_add_pad_template (element_class, gst_static_pad_template_get (&acmmp3dec_src_template)); - gst_element_class_set_details_simple (element_class, "ACM MP3 decoder", + gst_element_class_set_metadata (element_class, "ACM MP3 decoder", "Codec/Decoder/Audio", "Decode MP3 using ACM decoder", "Pioneers of the Inevitable <songbird@songbirdnest.com"); diff --git a/sys/applemedia/avfvideosrc.m b/sys/applemedia/avfvideosrc.m index e6fb49613..717b5c045 100644 --- a/sys/applemedia/avfvideosrc.m +++ b/sys/applemedia/avfvideosrc.m @@ -562,7 +562,7 @@ gst_avf_video_src_base_init (gpointer gclass) { GstElementClass *element_class = GST_ELEMENT_CLASS (gclass); - gst_element_class_set_details_simple (element_class, + gst_element_class_set_metadata (element_class, "Video Source (AVFoundation)", "Source/Video", "Reads frames from an iOS AVFoundation device", "Ole André Vadla RavnÃ¥s <oravnas@cisco.com>"); diff --git a/sys/applemedia/celvideosrc.c b/sys/applemedia/celvideosrc.c index 60f9c1974..cf452426f 100644 --- a/sys/applemedia/celvideosrc.c +++ b/sys/applemedia/celvideosrc.c @@ -828,7 +828,7 @@ gst_cel_video_src_base_init (gpointer gclass) { GstElementClass *element_class = GST_ELEMENT_CLASS (gclass); - gst_element_class_set_details_simple (element_class, + gst_element_class_set_metadata (element_class, "Video Source (Celestial)", "Source/Video", "Reads frames from an iOS Celestial device", "Ole André Vadla RavnÃ¥s <oravnas@cisco.com>"); diff --git a/sys/applemedia/miovideosrc.c b/sys/applemedia/miovideosrc.c index f505b2c80..067e55d51 100644 --- a/sys/applemedia/miovideosrc.c +++ b/sys/applemedia/miovideosrc.c @@ -1124,7 +1124,7 @@ gst_mio_video_src_base_init (gpointer gclass) { GstElementClass *element_class = GST_ELEMENT_CLASS (gclass); - gst_element_class_set_details_simple (element_class, + gst_element_class_set_metadata (element_class, "Video Source (MIO)", "Source/Video", "Reads frames from a Mac OS X MIO device", "Ole André Vadla RavnÃ¥s <oravnas@cisco.com>"); diff --git a/sys/applemedia/qtkitvideosrc.m b/sys/applemedia/qtkitvideosrc.m index 05952deec..108f11f0b 100644 --- a/sys/applemedia/qtkitvideosrc.m +++ b/sys/applemedia/qtkitvideosrc.m @@ -529,7 +529,7 @@ gst_qtkit_video_src_class_init (GstQTKitVideoSrcClass * klass) GstBaseSrcClass *gstbasesrc_class = GST_BASE_SRC_CLASS (klass); GstPushSrcClass *gstpushsrc_class = GST_PUSH_SRC_CLASS (klass); - gst_element_class_set_details_simple (gstelement_class, + gst_element_class_set_metadata (gstelement_class, "Video Source (QTKit)", "Source/Video", "Reads frames from a Mac OS X QTKit device", "Ole André Vadla RavnÃ¥s <oravnas@cisco.com>"); diff --git a/sys/applemedia/vtenc.c b/sys/applemedia/vtenc.c index c7878482c..83356f1bf 100644 --- a/sys/applemedia/vtenc.c +++ b/sys/applemedia/vtenc.c @@ -100,7 +100,7 @@ gst_vtenc_base_init (GstVTEncClass * klass) details.klass = g_strdup_printf ("Codec/Encoder/Video"); details.description = g_strdup_printf ("%s encoder", codec_details->name); - gst_element_class_set_details_simple (element_class, + gst_element_class_set_metadata (element_class, details.longname, details.klass, details.description, "Ole André Vadla RavnÃ¥s <oravnas@cisco.com>"); diff --git a/sys/applemedia/vth264decbin.c b/sys/applemedia/vth264decbin.c index fbc718b3a..8ca33a187 100644 --- a/sys/applemedia/vth264decbin.c +++ b/sys/applemedia/vth264decbin.c @@ -212,7 +212,7 @@ gst_vt_h264_dec_bin_base_init (gpointer gclass) { GstElementClass *element_class = GST_ELEMENT_CLASS (gclass); - gst_element_class_set_details_simple (element_class, + gst_element_class_set_metadata (element_class, "VTH264DecBin", "Decoder/Video", "VideoToolbox H.264 decoder bin", diff --git a/sys/applemedia/vth264encbin.c b/sys/applemedia/vth264encbin.c index e97ef29d5..bb3091448 100644 --- a/sys/applemedia/vth264encbin.c +++ b/sys/applemedia/vth264encbin.c @@ -74,7 +74,7 @@ gst_vt_h264_enc_bin_base_init (gpointer gclass) { GstElementClass *element_class = GST_ELEMENT_CLASS (gclass); - gst_element_class_set_details_simple (element_class, + gst_element_class_set_metadata (element_class, "VTH264EncBin", "Encoder/Video", "VideoToolbox H.264 encoder bin", diff --git a/sys/avc/gstavcsrc.cpp b/sys/avc/gstavcsrc.cpp index d9c07bdd5..21dcb5096 100644 --- a/sys/avc/gstavcsrc.cpp +++ b/sys/avc/gstavcsrc.cpp @@ -102,7 +102,7 @@ gst_avc_src_base_init (gpointer g_class) gst_element_class_add_pad_template (element_class, gst_static_pad_template_get (&gst_avc_src_src_template)); - gst_element_class_set_details_simple (element_class, + gst_element_class_set_metadata (element_class, "AVC Video Services Source", "Video/Source", "Captures DV or HDV video from Firewire port", "David Schleef <ds@entropywave.com>"); diff --git a/sys/cdrom/gstcdplayer.c b/sys/cdrom/gstcdplayer.c index 4f41a6357..bdd2b30bf 100644 --- a/sys/cdrom/gstcdplayer.c +++ b/sys/cdrom/gstcdplayer.c @@ -89,7 +89,7 @@ cdplayer_base_init (gpointer g_class) { GstElementClass *element_class = GST_ELEMENT_CLASS (g_class); - gst_element_class_set_details_simple (element_class, "CD Player", + gst_element_class_set_metadata (element_class, "CD Player", "Generic/Bin", "Play CD audio through the CD Drive", "Charles Schmidt <cbschmid@uiuc.edu>, " diff --git a/sys/decklink/gstdecklinksink.cpp b/sys/decklink/gstdecklinksink.cpp index 7ce9ecc5e..dd28a60c6 100644 --- a/sys/decklink/gstdecklinksink.cpp +++ b/sys/decklink/gstdecklinksink.cpp @@ -186,7 +186,7 @@ gst_decklink_sink_base_init (gpointer g_class) gst_element_class_add_pad_template (element_class, gst_static_pad_template_get (&gst_decklink_sink_audiosink_template)); - gst_element_class_set_details_simple (element_class, "Decklink Sink", + gst_element_class_set_metadata (element_class, "Decklink Sink", "Video/Sink", "Decklink Sink", "David Schleef <ds@entropywave.com>"); } diff --git a/sys/decklink/gstdecklinksrc.cpp b/sys/decklink/gstdecklinksrc.cpp index 6b7064935..6ee3e7a20 100644 --- a/sys/decklink/gstdecklinksrc.cpp +++ b/sys/decklink/gstdecklinksrc.cpp @@ -183,7 +183,7 @@ gst_decklink_src_base_init (gpointer g_class) gst_pad_template_new ("videosrc", GST_PAD_SRC, GST_PAD_ALWAYS, gst_decklink_mode_get_template_caps ())); - gst_element_class_set_details_simple (element_class, "Decklink source", + gst_element_class_set_metadata (element_class, "Decklink source", "Source/Video", "DeckLink Source", "David Schleef <ds@entropywave.com>"); } diff --git a/sys/directdraw/gstdirectdrawsink.c b/sys/directdraw/gstdirectdrawsink.c index 70cc503fb..4ab14d4e4 100644 --- a/sys/directdraw/gstdirectdrawsink.c +++ b/sys/directdraw/gstdirectdrawsink.c @@ -382,7 +382,7 @@ gst_directdraw_sink_base_init (gpointer g_class) { GstElementClass *element_class = GST_ELEMENT_CLASS (g_class); - gst_element_class_set_details_simple (element_class, "Direct Draw Video Sink", + gst_element_class_set_metadata (element_class, "Direct Draw Video Sink", "Sink/Video", "Output to a video card via Direct Draw", "Sebastien Moutte <sebastien@moutte.net>"); diff --git a/sys/directsound/gstdirectsoundsrc.c b/sys/directsound/gstdirectsoundsrc.c index 3562c40a4..169073b88 100644 --- a/sys/directsound/gstdirectsoundsrc.c +++ b/sys/directsound/gstdirectsoundsrc.c @@ -2,7 +2,7 @@ * GStreamer * Copyright 2005 Thomas Vander Stichele <thomas@apestaart.org> * Copyright 2005 Ronald S. Bultje <rbultje@ronald.bitfreak.net> - * Copyright 2005 Sébastien Moutte <sebastien@moutte.net> + * Copyright 2005 S�bastien Moutte <sebastien@moutte.net> * Copyright 2006 Joni Valtanen <joni.valtanen@movial.fi> * * Permission is hereby granted, free of charge, to any person obtaining a @@ -153,7 +153,7 @@ gst_directsound_src_base_init (gpointer g_class) GST_DEBUG ("initializing directsoundsrc base\n"); - gst_element_class_set_details_simple (element_class, "Direct Sound Audio Src", + gst_element_class_set_metadata (element_class, "Direct Sound Audio Src", "Source/Audio", "Capture from a soundcard via DIRECTSOUND", "Joni Valtanen <joni.valtanen@movial.fi>"); diff --git a/sys/dshowsrcwrapper/gstdshowaudiosrc.cpp b/sys/dshowsrcwrapper/gstdshowaudiosrc.cpp index e7fbadaab..6d4f15c70 100644 --- a/sys/dshowsrcwrapper/gstdshowaudiosrc.cpp +++ b/sys/dshowsrcwrapper/gstdshowaudiosrc.cpp @@ -121,7 +121,7 @@ gst_dshowaudiosrc_base_init (gpointer klass) gst_element_class_add_pad_template (element_class, gst_static_pad_template_get (&src_template)); - gst_element_class_set_details_simple (element_class, + gst_element_class_set_metadata (element_class, "Directshow audio capture source", "Source/Audio", "Receive data from a directshow audio capture graph", "Sebastien Moutte <sebastien@moutte.net>"); diff --git a/sys/dshowsrcwrapper/gstdshowvideosrc.cpp b/sys/dshowsrcwrapper/gstdshowvideosrc.cpp index 35d01ba0f..872932394 100644 --- a/sys/dshowsrcwrapper/gstdshowvideosrc.cpp +++ b/sys/dshowsrcwrapper/gstdshowvideosrc.cpp @@ -129,7 +129,7 @@ gst_dshowvideosrc_base_init (gpointer klass) gst_element_class_add_pad_template (element_class, gst_static_pad_template_get (&src_template)); - gst_element_class_set_details_simple (element_class, + gst_element_class_set_metadata (element_class, "DirectShow video capture source", "Source/Video", "Receive data from a directshow video capture graph", "Sebastien Moutte <sebastien@moutte.net>"); diff --git a/sys/dshowvideosink/dshowvideosink.cpp b/sys/dshowvideosink/dshowvideosink.cpp index d166d988a..0bd2eb0ae 100644 --- a/sys/dshowvideosink/dshowvideosink.cpp +++ b/sys/dshowvideosink/dshowvideosink.cpp @@ -224,7 +224,7 @@ gst_dshowvideosink_base_init (gpointer klass) gst_element_class_add_pad_template (element_class, gst_static_pad_template_get (&sink_template)); - gst_element_class_set_details_simple (element_class, "DirectShow video sink", + gst_element_class_set_metadata (element_class, "DirectShow video sink", "Sink/Video", "Display data using a DirectShow video renderer", "Pioneers of the Inevitable <songbird@songbirdnest.com>, " \ "FLUENDO S.A. <support@fluendo.com>"); diff --git a/sys/dvb/dvbbasebin.c b/sys/dvb/dvbbasebin.c index e2ba8c489..4e91491a8 100644 --- a/sys/dvb/dvbbasebin.c +++ b/sys/dvb/dvbbasebin.c @@ -228,7 +228,7 @@ dvb_base_bin_class_init (DvbBaseBinClass * klass) gst_element_class_add_pad_template (element_class, gst_static_pad_template_get (&src_template)); - gst_element_class_set_details_simple (element_class, "DVB bin", + gst_element_class_set_metadata (element_class, "DVB bin", "Source/Bin/Video", "Access descramble and split DVB streams", "Alessandro Decina <alessandro@nnva.org>"); diff --git a/sys/dvb/gstdvbsrc.c b/sys/dvb/gstdvbsrc.c index 00eddc421..b7dcb783e 100644 --- a/sys/dvb/gstdvbsrc.c +++ b/sys/dvb/gstdvbsrc.c @@ -334,7 +334,7 @@ gst_dvbsrc_class_init (GstDvbSrcClass * klass) gst_element_class_add_pad_template (gstelement_class, gst_static_pad_template_get (&ts_src_factory)); - gst_element_class_set_details_simple (gstelement_class, "DVB Source", + gst_element_class_set_metadata (gstelement_class, "DVB Source", "Source/Video", "Digital Video Broadcast Source", "P2P-VCR, C-Lab, University of Paderborn," diff --git a/sys/dxr3/dxr3audiosink.c b/sys/dxr3/dxr3audiosink.c index 53a69636a..7e509d5e4 100644 --- a/sys/dxr3/dxr3audiosink.c +++ b/sys/dxr3/dxr3audiosink.c @@ -153,7 +153,7 @@ dxr3audiosink_base_init (Dxr3AudioSinkClass * klass) gst_static_pad_template_get (&dxr3audiosink_pcm_sink_factory)); gst_element_class_add_pad_template (element_class, gst_static_pad_template_get (&dxr3audiosink_ac3_sink_factory)); - gst_element_class_set_details_simple (element_class, + gst_element_class_set_metadata (element_class, "dxr3/Hollywood+ mpeg decoder board audio plugin", "Audio/Sink", "Feeds audio to Sigma Designs em8300 based boards", "Martin Soto <martinsoto@users.sourceforge.net>"); diff --git a/sys/dxr3/dxr3spusink.c b/sys/dxr3/dxr3spusink.c index ec713fbb4..9cb690f6c 100644 --- a/sys/dxr3/dxr3spusink.c +++ b/sys/dxr3/dxr3spusink.c @@ -128,7 +128,7 @@ dxr3spusink_base_init (Dxr3SpuSinkClass * klass) gst_element_class_add_pad_template (element_class, gst_static_pad_template_get (&dxr3spusink_sink_factory)); - gst_element_class_set_details_simple (element_class, + gst_element_class_set_metadata (element_class, "dxr3/Hollywood+ mpeg decoder board subpicture element", "Sink/Video", "Feeds subpicture information to Sigma Designs em8300 based boards", "Martin Soto <martinsoto@users.sourceforge.net>"); diff --git a/sys/dxr3/dxr3videosink.c b/sys/dxr3/dxr3videosink.c index 9ee27b4e1..ceeacb7dd 100644 --- a/sys/dxr3/dxr3videosink.c +++ b/sys/dxr3/dxr3videosink.c @@ -154,7 +154,7 @@ dxr3videosink_base_init (Dxr3VideoSinkClass * klass) gst_element_class_add_pad_template (element_class, gst_static_pad_template_get (&dxr3videosink_sink_factory)); - gst_element_class_set_details_simple (element_class, + gst_element_class_set_metadata (element_class, "dxr3/Hollywood+ mpeg decoder board video element", "Sink/Video", "Feeds MPEG2 video to Sigma Designs em8300 based boards", "Martin Soto <martinsoto@users.sourceforge.net>"); diff --git a/sys/fbdev/gstfbdevsink.c b/sys/fbdev/gstfbdevsink.c index 5ed37484e..70fad8edb 100644 --- a/sys/fbdev/gstfbdevsink.c +++ b/sys/fbdev/gstfbdevsink.c @@ -90,7 +90,7 @@ gst_fbdevsink_base_init (gpointer g_class) GST_STATIC_CAPS (GST_FBDEV_TEMPLATE_CAPS) ); - gst_element_class_set_details_simple (element_class, "fbdev video sink", + gst_element_class_set_metadata (element_class, "fbdev video sink", "Sink/Video", "A linux framebuffer videosink", "Sean D'Epagnier <sean@depagnier.com>"); gst_element_class_add_pad_template (element_class, diff --git a/sys/linsys/gstlinsyssdisink.c b/sys/linsys/gstlinsyssdisink.c index 57813d39a..4250e0796 100644 --- a/sys/linsys/gstlinsyssdisink.c +++ b/sys/linsys/gstlinsyssdisink.c @@ -102,7 +102,7 @@ gst_linsys_sdi_sink_base_init (gpointer g_class) gst_element_class_add_pad_template (element_class, gst_static_pad_template_get (&gst_linsys_sdi_sink_sink_template)); - gst_element_class_set_details_simple (element_class, "SDI video sink", + gst_element_class_set_metadata (element_class, "SDI video sink", "Sink/Video", "Writes video from SDI transmit device", "David Schleef <ds@entropywave.com>"); } diff --git a/sys/linsys/gstlinsyssdisrc.c b/sys/linsys/gstlinsyssdisrc.c index 11384c8b3..9b5a32708 100644 --- a/sys/linsys/gstlinsyssdisrc.c +++ b/sys/linsys/gstlinsyssdisrc.c @@ -106,7 +106,7 @@ gst_linsys_sdi_src_base_init (gpointer g_class) gst_element_class_add_pad_template (element_class, gst_static_pad_template_get (&gst_linsys_sdi_src_src_template)); - gst_element_class_set_details_simple (element_class, "SDI video source", + gst_element_class_set_metadata (element_class, "SDI video source", "Source/Video", "Reads video from SDI capture device", "David Schleef <ds@entropywave.com>"); } diff --git a/sys/osxvideo/osxvideosrc.c b/sys/osxvideo/osxvideosrc.c index ed84619d7..14b709978 100644 --- a/sys/osxvideo/osxvideosrc.c +++ b/sys/osxvideo/osxvideosrc.c @@ -642,7 +642,7 @@ gst_osx_video_src_base_init (gpointer gclass) gst_element_class_add_pad_template (element_class, gst_static_pad_template_get (&src_template)); - gst_element_class_set_details_simple (element_class, "Video Source (OSX)", + gst_element_class_set_metadata (element_class, "Video Source (OSX)", "Source/Video", "Reads raw frames from a capture device on OS X", "Ole Andre Vadla Ravnaas <ole.andre.ravnas@tandberg.com>, " diff --git a/sys/pvr2d/gstpvrvideosink.c b/sys/pvr2d/gstpvrvideosink.c index 1b5960188..0a93687d1 100644 --- a/sys/pvr2d/gstpvrvideosink.c +++ b/sys/pvr2d/gstpvrvideosink.c @@ -1460,7 +1460,7 @@ gst_pvrvideosink_class_init (GstPVRVideoSinkClass * klass) "original aspect ratio", TRUE, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); - gst_element_class_set_details_simple (gstelement_class, + gst_element_class_set_metadata (gstelement_class, "PVR Video sink", "Sink/Video", "A PVR videosink", "Luciana Fujii Pontello <luciana.fujii@collabora.co.uk"); diff --git a/sys/qcam/gstqcamsrc.c b/sys/qcam/gstqcamsrc.c index bc9886b92..f53e55741 100644 --- a/sys/qcam/gstqcamsrc.c +++ b/sys/qcam/gstqcamsrc.c @@ -150,7 +150,7 @@ gst_qcamsrc_base_init (gpointer g_class) gst_element_class_add_pad_template (element_class, gst_static_pad_template_get (&gst_qcamsrc_src_factory)); - gst_element_class_set_details_simple (element_class, "QCam Source", + gst_element_class_set_metadata (element_class, "QCam Source", "Source/Video", "Read from a QuickCam device", "Wim Taymans <wim.taymans@chello.be>"); } diff --git a/sys/qtwrapper/audiodecoders.c b/sys/qtwrapper/audiodecoders.c index 32f8e1d43..546967c5a 100644 --- a/sys/qtwrapper/audiodecoders.c +++ b/sys/qtwrapper/audiodecoders.c @@ -957,7 +957,7 @@ qtwrapper_audio_decoder_base_init (QTWrapperAudioDecoderClass * klass) description = g_strdup_printf ("QTWrapper SCAudio wrapper for decoder: %s", GST_STR_NULL (info)); - gst_element_class_set_details_simple (element_class, + gst_element_class_set_metadata (element_class, longname, "Codec/Decoder/Audio", description, "Fluendo <gstreamer@fluendo.com>, " "Pioneers of the Inevitable <songbird@songbirdnest.com>"); diff --git a/sys/qtwrapper/videodecoders.c b/sys/qtwrapper/videodecoders.c index b2e58e968..e659e2356 100644 --- a/sys/qtwrapper/videodecoders.c +++ b/sys/qtwrapper/videodecoders.c @@ -158,7 +158,7 @@ qtwrapper_video_decoder_base_init (QTWrapperVideoDecoderClass * klass) description = g_strdup_printf ("QTWrapper SCAudio wrapper for decoder: %s", GST_STR_NULL (info)); - gst_element_class_set_details_simple (element_class, longname, + gst_element_class_set_metadata (element_class, longname, "Codec/Decoder/Video", description, "Fluendo <gstreamer@fluendo.com>, " "Pioneers of the Inevitable <songbird@songbirdnest.com>"); diff --git a/sys/shm/gstshmsink.c b/sys/shm/gstshmsink.c index 605e79871..1711e8ea9 100644 --- a/sys/shm/gstshmsink.c +++ b/sys/shm/gstshmsink.c @@ -176,7 +176,7 @@ gst_shm_sink_class_init (GstShmSinkClass * klass) gst_element_class_add_pad_template (gstelement_class, gst_static_pad_template_get (&sinktemplate)); - gst_element_class_set_details_simple (gstelement_class, + gst_element_class_set_metadata (gstelement_class, "Shared Memory Sink", "Sink", "Send data over shared memory to the matching source", diff --git a/sys/shm/gstshmsrc.c b/sys/shm/gstshmsrc.c index d201e7e77..1c9049183 100644 --- a/sys/shm/gstshmsrc.c +++ b/sys/shm/gstshmsrc.c @@ -134,7 +134,7 @@ gst_shm_src_class_init (GstShmSrcClass * klass) gst_element_class_add_pad_template (gstelement_class, gst_static_pad_template_get (&srctemplate)); - gst_element_class_set_details_simple (gstelement_class, + gst_element_class_set_metadata (gstelement_class, "Shared Memory Source", "Source", "Receive data from the shared memory sink", diff --git a/sys/uvch264/gstuvch264_mjpgdemux.c b/sys/uvch264/gstuvch264_mjpgdemux.c index 4bc689981..880b44918 100644 --- a/sys/uvch264/gstuvch264_mjpgdemux.c +++ b/sys/uvch264/gstuvch264_mjpgdemux.c @@ -200,7 +200,7 @@ gst_uvc_h264_mjpg_demux_base_init (gpointer g_class) gst_element_class_add_pad_template (element_class, pt); gst_object_unref (pt); - gst_element_class_set_details_simple (element_class, + gst_element_class_set_metadata (element_class, "UVC H264 MJPG Demuxer", "Video/Demuxer", "Demux UVC H264 auxiliary streams from MJPG images", diff --git a/sys/uvch264/gstuvch264_src.c b/sys/uvch264/gstuvch264_src.c index 26b50b088..ac99768dd 100644 --- a/sys/uvch264/gstuvch264_src.c +++ b/sys/uvch264/gstuvch264_src.c @@ -273,7 +273,7 @@ gst_uvc_h264_src_base_init (gpointer g_class) GST_DEBUG_CATEGORY_INIT (uvc_h264_src_debug, "uvch264_src", 0, "UVC H264 Compliant camera bin source"); - gst_element_class_set_details_simple (gstelement_class, + gst_element_class_set_metadata (gstelement_class, "UVC H264 Source", "Source/Video", "UVC H264 Encoding camera source", diff --git a/sys/vcd/vcdsrc.c b/sys/vcd/vcdsrc.c index ee135dd5c..294bd2ad7 100644 --- a/sys/vcd/vcdsrc.c +++ b/sys/vcd/vcdsrc.c @@ -95,7 +95,7 @@ gst_vcdsrc_base_init (gpointer g_class) { GstElementClass *element_class = GST_ELEMENT_CLASS (g_class); - gst_element_class_set_details_simple (element_class, "VCD Source", + gst_element_class_set_metadata (element_class, "VCD Source", "Source/File", "Asynchronous read from VCD disk", "Erik Walthinsen <omega@cse.ogi.edu>"); diff --git a/sys/vdpau/gstvdpsink.c b/sys/vdpau/gstvdpsink.c index 35ea182a4..ff4f7453d 100644 --- a/sys/vdpau/gstvdpsink.c +++ b/sys/vdpau/gstvdpsink.c @@ -1385,7 +1385,7 @@ gst_vdp_sink_base_init (gpointer g_class) { GstElementClass *element_class = GST_ELEMENT_CLASS (g_class); - gst_element_class_set_details_simple (element_class, + gst_element_class_set_metadata (element_class, "VDPAU Sink", "Sink/Video", "VDPAU Sink", "Carl-Anton Ingmarsson <ca.ingmarsson@gmail.com>"); diff --git a/sys/vdpau/gstvdpvideopostprocess.c b/sys/vdpau/gstvdpvideopostprocess.c index 15a165658..4d76eceba 100644 --- a/sys/vdpau/gstvdpvideopostprocess.c +++ b/sys/vdpau/gstvdpvideopostprocess.c @@ -1179,7 +1179,7 @@ gst_vdp_vpp_base_init (gpointer gclass) GstCaps *src_caps, *sink_caps; GstPadTemplate *src_template, *sink_template; - gst_element_class_set_details_simple (element_class, + gst_element_class_set_metadata (element_class, "VdpauVideoPostProcess", "Filter/Converter/Decoder/Video", "Post process GstVdpVideoBuffers and output GstVdpOutputBuffers", diff --git a/sys/vdpau/h264/gstvdph264dec.c b/sys/vdpau/h264/gstvdph264dec.c index ab5479794..ba44c6dc7 100644 --- a/sys/vdpau/h264/gstvdph264dec.c +++ b/sys/vdpau/h264/gstvdph264dec.c @@ -866,7 +866,7 @@ gst_vdp_h264_dec_base_init (gpointer g_class) { GstElementClass *element_class = GST_ELEMENT_CLASS (g_class); - gst_element_class_set_details_simple (element_class, + gst_element_class_set_metadata (element_class, "VDPAU H264 Decoder", "Decoder", "Decode h264 stream with vdpau", diff --git a/sys/vdpau/mpeg/gstvdpmpegdec.c b/sys/vdpau/mpeg/gstvdpmpegdec.c index 96c04c8ce..ef1210e44 100644 --- a/sys/vdpau/mpeg/gstvdpmpegdec.c +++ b/sys/vdpau/mpeg/gstvdpmpegdec.c @@ -620,7 +620,7 @@ gst_vdp_mpeg_dec_base_init (gpointer gclass) { GstElementClass *element_class = GST_ELEMENT_CLASS (gclass); - gst_element_class_set_details_simple (element_class, + gst_element_class_set_metadata (element_class, "VDPAU Mpeg Decoder", "Decoder", "Decode mpeg stream with vdpau", diff --git a/sys/vdpau/mpeg4/gstvdpmpeg4dec.c b/sys/vdpau/mpeg4/gstvdpmpeg4dec.c index 2ecf434e1..8ebd89328 100644 --- a/sys/vdpau/mpeg4/gstvdpmpeg4dec.c +++ b/sys/vdpau/mpeg4/gstvdpmpeg4dec.c @@ -439,7 +439,7 @@ gst_vdp_mpeg4_dec_base_init (gpointer gclass) { GstElementClass *element_class = GST_ELEMENT_CLASS (gclass); - gst_element_class_set_details_simple (element_class, + gst_element_class_set_metadata (element_class, "VDPAU Mpeg4 Decoder", "Decoder", "Decode mpeg4 stream with vdpau", diff --git a/sys/wasapi/gstwasapisink.c b/sys/wasapi/gstwasapisink.c index 3a3d9e906..f8f7103af 100644 --- a/sys/wasapi/gstwasapisink.c +++ b/sys/wasapi/gstwasapisink.c @@ -67,7 +67,7 @@ gst_wasapi_sink_base_init (gpointer gclass) gst_element_class_add_pad_template (element_class, gst_static_pad_template_get (&sink_template)); - gst_element_class_set_details_simple (element_class, "WasapiSrc", + gst_element_class_set_metadata (element_class, "WasapiSrc", "Sink/Audio", "Stream audio to an audio capture device through WASAPI", "Ole André Vadla RavnÃ¥s <ole.andre.ravnas@tandberg.com>"); diff --git a/sys/wasapi/gstwasapisrc.c b/sys/wasapi/gstwasapisrc.c index a4100315b..7163f520a 100644 --- a/sys/wasapi/gstwasapisrc.c +++ b/sys/wasapi/gstwasapisrc.c @@ -71,7 +71,7 @@ gst_wasapi_src_base_init (gpointer gclass) gst_element_class_add_pad_template (element_class, gst_static_pad_template_get (&src_template)); - gst_element_class_set_details_simple (element_class, "WasapiSrc", + gst_element_class_set_metadata (element_class, "WasapiSrc", "Source/Audio", "Stream audio from an audio capture device through WASAPI", "Ole André Vadla RavnÃ¥s <ole.andre.ravnas@tandberg.com>"); diff --git a/sys/wininet/gstwininetsrc.c b/sys/wininet/gstwininetsrc.c index b33070fda..ed719b1c0 100644 --- a/sys/wininet/gstwininetsrc.c +++ b/sys/wininet/gstwininetsrc.c @@ -86,7 +86,7 @@ gst_win_inet_src_base_init (gpointer gclass) gst_element_class_add_pad_template (element_class, gst_static_pad_template_get (&src_template)); - gst_element_class_set_details_simple (element_class, + gst_element_class_set_metadata (element_class, "Windows Network Source", "Source/Network", "Receive data as a client over the network via HTTP or FTP", "Ole André Vadla RavnÃ¥s <ole.andre.ravnas@tandberg.com>"); diff --git a/sys/winks/gstksvideosrc.c b/sys/winks/gstksvideosrc.c index fa831f1ba..1f4d70751 100644 --- a/sys/winks/gstksvideosrc.c +++ b/sys/winks/gstksvideosrc.c @@ -168,7 +168,7 @@ gst_ks_video_src_base_init (gpointer gclass) { GstElementClass *element_class = GST_ELEMENT_CLASS (gclass); - gst_element_class_set_details_simple (element_class, "KsVideoSrc", + gst_element_class_set_metadata (element_class, "KsVideoSrc", "Source/Video", "Stream data from a video capture device through Windows kernel streaming", "Ole André Vadla RavnÃ¥s <ole.andre.ravnas@tandberg.com>\n" diff --git a/sys/winscreencap/gstdx9screencapsrc.c b/sys/winscreencap/gstdx9screencapsrc.c index 5283376a1..82a0d4d6c 100644 --- a/sys/winscreencap/gstdx9screencapsrc.c +++ b/sys/winscreencap/gstdx9screencapsrc.c @@ -104,7 +104,7 @@ gst_dx9screencapsrc_base_init (gpointer klass) gst_element_class_add_pad_template (element_class, gst_static_pad_template_get (&src_template)); - gst_element_class_set_details_simple (element_class, + gst_element_class_set_metadata (element_class, "DirectX 9 screen capture source", "Source/Video", "Captures screen", "Haakon Sporsheim <hakon.sporsheim@tandberg.com>"); } diff --git a/sys/winscreencap/gstgdiscreencapsrc.c b/sys/winscreencap/gstgdiscreencapsrc.c index 7658b2ea2..fccd97a8e 100644 --- a/sys/winscreencap/gstgdiscreencapsrc.c +++ b/sys/winscreencap/gstgdiscreencapsrc.c @@ -99,7 +99,7 @@ gst_gdiscreencapsrc_base_init (gpointer klass) gst_element_class_add_pad_template (element_class, gst_static_pad_template_get (&src_template)); - gst_element_class_set_details_simple (element_class, + gst_element_class_set_metadata (element_class, "GDI screen capture source", "Source/Video", "Captures screen", "Haakon Sporsheim <hakon.sporsheim@tandberg.com>"); } |