diff options
author | Tim-Philipp Müller <tim.muller@collabora.co.uk> | 2012-04-10 00:51:41 +0100 |
---|---|---|
committer | Tim-Philipp Müller <tim.muller@collabora.co.uk> | 2012-04-10 00:51:41 +0100 |
commit | e09ae5736d58df9fb6ea9ba6aebafee797f60919 (patch) | |
tree | 31d463d69cd2bedb72de5927834097b4c6f73e99 /gst/videocrop | |
parent | be9baf1a0ba04d338aaa5e64eaddbc3eb32f0b59 (diff) | |
download | gstreamer-plugins-good-e09ae5736d58df9fb6ea9ba6aebafee797f60919.tar.gz |
Use new gst_element_class_set_static_metadata()
Diffstat (limited to 'gst/videocrop')
-rw-r--r-- | gst/videocrop/gstaspectratiocrop.c | 2 | ||||
-rw-r--r-- | gst/videocrop/gstvideocrop.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/gst/videocrop/gstaspectratiocrop.c b/gst/videocrop/gstaspectratiocrop.c index 391e97d08..ec7bc3d05 100644 --- a/gst/videocrop/gstaspectratiocrop.c +++ b/gst/videocrop/gstaspectratiocrop.c @@ -193,7 +193,7 @@ gst_aspect_ratio_crop_class_init (GstAspectRatioCropClass * klass) "Target aspect-ratio of video", 0, 1, G_MAXINT, 1, 0, 1, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); - gst_element_class_set_details_simple (element_class, "aspectratiocrop", + gst_element_class_set_static_metadata (element_class, "aspectratiocrop", "Filter/Effect/Video", "Crops video into a user-defined aspect-ratio", "Thijs Vermeir <thijsvermeir@gmail.com>"); diff --git a/gst/videocrop/gstvideocrop.c b/gst/videocrop/gstvideocrop.c index 8c23d4b92..6e0434317 100644 --- a/gst/videocrop/gstvideocrop.c +++ b/gst/videocrop/gstvideocrop.c @@ -194,7 +194,7 @@ gst_video_crop_class_init (GstVideoCropClass * klass) gst_static_pad_template_get (&sink_template)); gst_element_class_add_pad_template (element_class, gst_static_pad_template_get (&src_template)); - gst_element_class_set_details_simple (element_class, "Crop", + gst_element_class_set_static_metadata (element_class, "Crop", "Filter/Effect/Video", "Crops video into a user-defined region", "Tim-Philipp Müller <tim centricular net>"); |