*
* You should have received a copy of the GNU Library General Public
* License along with this library; if not, write to the
- * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
- * Boston, MA 02111-1307, USA.
+ * Free Software Foundation, Inc., 51 Franklin St, Fifth Floor,
+ * Boston, MA 02110-1301, USA.
*/
/**
* <refsect2>
* <title>Example launch line</title>
* |[
- * gst-launch -v videotestsrc ! edgetv ! videoconvert ! autovideosink
+ * gst-launch-1.0 -v videotestsrc ! edgetv ! videoconvert ! autovideosink
* ]| This pipeline shows the effect of edgetv on a test stream.
* </refsect2>
*/
gobject_class->finalize = gst_edgetv_finalize;
- gst_element_class_set_details_simple (gstelement_class, "EdgeTV effect",
+ gst_element_class_set_static_metadata (gstelement_class, "EdgeTV effect",
"Filter/Effect/Video",
"Apply edge detect on video", "Wim Taymans <wim.taymans@chello.be>");
- gst_element_class_add_pad_template (gstelement_class,
- gst_static_pad_template_get (&gst_edgetv_sink_template));
- gst_element_class_add_pad_template (gstelement_class,
- gst_static_pad_template_get (&gst_edgetv_src_template));
+ gst_element_class_add_static_pad_template (gstelement_class,
+ &gst_edgetv_sink_template);
+ gst_element_class_add_static_pad_template (gstelement_class,
+ &gst_edgetv_src_template);
trans_class->start = GST_DEBUG_FUNCPTR (gst_edgetv_start);