2008-01-19 Alp Toker <alp@atoker.com>
[WebKit-https.git] / WebCore / platform / graphics / gtk / VideoSinkGStreamer.cpp
index e90be2b9e3f8ff578775a07a509c1dd87252e910..7e976883ae1e7d1d72db5ae5fb1bd4882342e50b 100644 (file)
@@ -312,24 +312,3 @@ webkit_video_sink_set_surface(WebKitVideoSink* sink, cairo_surface_t* surface)
         cairo_surface_destroy(priv->surface);
     priv->surface = cairo_surface_reference(surface);
 }
-
-static gboolean
-plugin_init(GstPlugin* plugin)
-{
-    return gst_element_register(plugin, "webkitsink", GST_RANK_PRIMARY, WEBKIT_TYPE_VIDEO_SINK);
-}
-
-#define VERSION "0.1"
-#define PACKAGE "webkit"
-
-GST_PLUGIN_DEFINE_STATIC(
-    GST_VERSION_MAJOR,
-    GST_VERSION_MINOR,
-    "webkitsink",
-    "Element to render to WebKit Cairo surfaces",
-    plugin_init,
-    VERSION,
-    "LGPL", /* license */
-    PACKAGE,
-    ""
-);