Commit f7c247b6 authored by Mark Nauwelaerts's avatar Mark Nauwelaerts

replace gst_element_class_set_details_simple with gst_element_class_set_metadata

parent a57198a0
......@@ -178,7 +178,7 @@ gst_theora_dec_class_init (GstTheoraDecClass * klass)
gst_static_pad_template_get (&theora_dec_src_factory));
gst_element_class_add_pad_template (element_class,
gst_static_pad_template_get (&theora_dec_sink_factory));
gst_element_class_set_details_simple (element_class,
gst_element_class_set_metadata (element_class,
"Theora video decoder", "Codec/Decoder/Video",
"decode raw theora streams to raw YUV video",
"Benjamin Otte <otte@gnome.org>, Wim Taymans <wim@fluendo.com>");
......
......@@ -214,7 +214,7 @@ gst_theora_enc_class_init (GstTheoraEncClass * klass)
gst_static_pad_template_get (&theora_enc_src_factory));
gst_element_class_add_pad_template (element_class,
gst_static_pad_template_get (&theora_enc_sink_factory));
gst_element_class_set_details_simple (element_class,
gst_element_class_set_metadata (element_class,
"Theora video encoder", "Codec/Encoder/Video",
"encode raw YUV video to a theora stream",
"Wim Taymans <wim@fluendo.com>");
......
......@@ -320,7 +320,7 @@ gst_app_sink_class_init (GstAppSinkClass * klass)
pull_sample), NULL, NULL, __gst_app_marshal_BOXED__VOID,
GST_TYPE_SAMPLE, 0, G_TYPE_NONE);
gst_element_class_set_details_simple (element_class, "AppSink",
gst_element_class_set_metadata (element_class, "AppSink",
"Generic/Sink", "Allow the application to get access to raw buffer",
"David Schleef <ds@schleef.org>, Wim Taymans <wim.taymans@gmail.com>");
......
......@@ -458,7 +458,7 @@ gst_app_src_class_init (GstAppSrcClass * klass)
end_of_stream), NULL, NULL, __gst_app_marshal_ENUM__VOID,
GST_TYPE_FLOW_RETURN, 0, G_TYPE_NONE);
gst_element_class_set_details_simple (element_class, "AppSrc",
gst_element_class_set_metadata (element_class, "AppSrc",
"Generic/Source", "Allow the application to feed buffers to a pipeline",
"David Schleef <ds@schleef.org>, Wim Taymans <wim.taymans@gmail.com>");
......
......@@ -235,7 +235,7 @@ test_mpeg_audio_parse_class_init (TestMpegAudioParseClass * klass)
gst_element_class_add_pad_template (element_class,
gst_static_pad_template_get (&src_template));
gst_element_class_set_details_simple (element_class, "MPEG1 Audio Parser",
gst_element_class_set_metadata (element_class, "MPEG1 Audio Parser",
"Codec/Parser/Audio", "Pretends to parse mpeg1 audio stream",
"Foo Bar <foo@bar.com>");
......
......@@ -228,7 +228,7 @@ test_mpeg_audio_parse_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, "MPEG1 Audio Parser",
gst_element_class_set_metadata (element_class, "MPEG1 Audio Parser",
"Codec/Parser/Audio", "Pretends to parse mpeg1 audio stream",
"Foo Bar <foo@bar.com>");
}
......@@ -395,7 +395,7 @@ gst_fake_h264_parser_base_init (gpointer klass)
gst_static_pad_template_get (&sink_templ));
gst_element_class_add_pad_template (element_class,
gst_static_pad_template_get (&src_templ));
gst_element_class_set_details_simple (element_class,
gst_element_class_set_metadata (element_class,
"FakeH264Parser", "Codec/Parser/Converter/Video", "yep", "me");
}
......@@ -495,7 +495,7 @@ gst_fake_h264_decoder_base_init (gpointer klass)
gst_static_pad_template_get (&sink_templ));
gst_element_class_add_pad_template (element_class,
gst_static_pad_template_get (&src_templ));
gst_element_class_set_details_simple (element_class,
gst_element_class_set_metadata (element_class,
"FakeH264Decoder", "Codec/Decoder/Video", "yep", "me");
}
......
......@@ -165,7 +165,7 @@ gst_caps_src_class_init (GstCapsSrcClass * klass)
gst_element_class_add_pad_template (element_class,
gst_static_pad_template_get (&src_templ));
gst_element_class_set_details_simple (element_class,
gst_element_class_set_metadata (element_class,
"CapsSource", "Source/Generic", "yep", "me");
gobject_class->finalize = gst_caps_src_finalize;
......@@ -316,7 +316,7 @@ gst_audio_codec_sink_class_init (GstAudioCodecSinkClass * klass)
gst_element_class_add_pad_template (element_class,
gst_static_pad_template_get (&sink_templ));
gst_element_class_set_details_simple (element_class,
gst_element_class_set_metadata (element_class,
"AudioCodecSink", "Sink/Audio", "yep", "me");
basesink_class->set_caps = gst_audio_codec_sink_set_caps;
......@@ -367,7 +367,7 @@ gst_video_codec_sink_class_init (GstVideoCodecSinkClass * klass)
gst_element_class_add_pad_template (element_class,
gst_static_pad_template_get (&sink_templ));
gst_element_class_set_details_simple (element_class,
gst_element_class_set_metadata (element_class,
"VideoCodecSink", "Sink/Video", "yep", "me");
basesink_class->set_caps = gst_video_codec_sink_set_caps;
......@@ -438,7 +438,7 @@ gst_codec_demuxer_class_init (GstCodecDemuxerClass * klass)
gst_static_pad_template_get (&cd_sink_templ));
gst_element_class_add_pad_template (element_class,
gst_static_pad_template_get (&cd_src_templ));
gst_element_class_set_details_simple (element_class,
gst_element_class_set_metadata (element_class,
"CodecDemuxer", "Codec/Demuxer", "yep", "me");
}
......
......@@ -652,7 +652,7 @@ gst_red_video_src_class_init (GstRedVideoSrcClass * klass)
gst_element_class_add_pad_template (element_class,
gst_static_pad_template_get (&src_templ));
gst_element_class_set_details_simple (element_class,
gst_element_class_set_metadata (element_class,
"Red Video Src", "Source/Video", "yep", "me");
pushsrc_class->create = gst_red_video_src_create;
......@@ -754,7 +754,7 @@ gst_codec_src_class_init (GstCodecSrcClass * klass)
gst_element_class_add_pad_template (element_class,
gst_static_pad_template_get (&src_templ));
gst_element_class_set_details_simple (element_class,
gst_element_class_set_metadata (element_class,
"Codec Src", "Source/Video", "yep", "me");
pushsrc_class->create = gst_codec_src_create;
......
......@@ -795,7 +795,7 @@ gst_test_reverse_negotiation_sink_class_init (GstTestReverseNegotiationSinkClass
gstelement_class = GST_ELEMENT_CLASS (klass);
gstbase_sink_class = GST_BASE_SINK_CLASS (klass);
gst_element_class_set_details_simple (gstelement_class,
gst_element_class_set_metadata (gstelement_class,
"Test Reverse Negotiation Sink",
"Sink",
"Some test sink", "Sebastian Dröge <sebastian.droege@collabora.co.uk>");
......
......@@ -201,7 +201,7 @@ gst_cd_foo_src_class_init (GstCdFooSrcClass * klass)
GstAudioCdSrcClass *audiocdsrc_class = GST_AUDIO_CD_SRC_CLASS (klass);
GstElementClass *element_class = GST_ELEMENT_CLASS (klass);
gst_element_class_set_details_simple (element_class,
gst_element_class_set_metadata (element_class,
"CD Audio (cdda) Source, FooBar", "Source/File",
"Read audio from CD", "Foo Bar <foo@bar.com>");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment