diff options
author | Vineeth TM <vineeth.tm@samsung.com> | 2016-03-04 15:50:26 +0900 |
---|---|---|
committer | Sebastian Dröge <sebastian@centricular.com> | 2016-03-24 14:56:51 +0200 |
commit | 8cdfb13658a069cf8c45a3265bf865849d3dc8e9 (patch) | |
tree | 93bc4a0be9c90b3e4d086328781411d9798933d8 /gst/faceoverlay | |
parent | c25782921324cb9ff7bfcc757257dfde05f95df3 (diff) |
bad: use new gst_element_class_add_static_pad_template()
https://bugzilla.gnome.org/show_bug.cgi?id=763081
Diffstat (limited to 'gst/faceoverlay')
-rw-r--r-- | gst/faceoverlay/gstfaceoverlay.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/gst/faceoverlay/gstfaceoverlay.c b/gst/faceoverlay/gstfaceoverlay.c index 2a84b54ed..19006f378 100644 --- a/gst/faceoverlay/gstfaceoverlay.c +++ b/gst/faceoverlay/gstfaceoverlay.c @@ -286,10 +286,8 @@ gst_face_overlay_base_init (gpointer gclass) "Overlays SVG graphics over a detected face in a video stream", "Laura Lucas Alday <lauralucas@gmail.com>"); - gst_element_class_add_pad_template (element_class, - gst_static_pad_template_get (&src_factory)); - gst_element_class_add_pad_template (element_class, - gst_static_pad_template_get (&sink_factory)); + gst_element_class_add_static_pad_template (element_class, &src_factory); + gst_element_class_add_static_pad_template (element_class, &sink_factory); } static void |