X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=gst%2Fautodetect%2Fgstautovideosink.c;h=d4e04195368a2d12d36d1f9bc41aacc1b9320522;hb=HEAD;hp=7e37ffe55c91ae2338baa2d8ab4ebcaa85c3fa7b;hpb=b1065bf2a5159183bde18dcd95c988ea42b86f83;p=framework%2Fmultimedia%2Fgst-plugins-good0.10.git diff --git a/gst/autodetect/gstautovideosink.c b/gst/autodetect/gstautovideosink.c index 7e37ffe..d4e0419 100644 --- a/gst/autodetect/gstautovideosink.c +++ b/gst/autodetect/gstautovideosink.c @@ -74,8 +74,7 @@ gst_auto_video_sink_base_init (gpointer klass) { GstElementClass *eklass = GST_ELEMENT_CLASS (klass); - gst_element_class_add_pad_template (eklass, - gst_static_pad_template_get (&sink_template)); + gst_element_class_add_static_pad_template (eklass, &sink_template); gst_element_class_set_details_simple (eklass, "Auto video sink", "Sink/Video", "Wrapper video sink for automatically detected video sink",