d3d11compositor: Performance optimization
[platform/upstream/gstreamer.git] / subprojects / gst-plugins-bad / sys / d3d11 / plugin.cpp
index 6a19f12..279ee28 100644 (file)
@@ -68,7 +68,6 @@
 #include "gstd3d11convert.h"
 #include "gstd3d11shader.h"
 #include "gstd3d11compositor.h"
-#include "gstd3d11compositorbin.h"
 #include "gstd3d11h264dec.h"
 #include "gstd3d11h265dec.h"
 #include "gstd3d11vp9dec.h"
@@ -91,7 +90,6 @@ GST_DEBUG_CATEGORY (gst_d3d11_device_debug);
 GST_DEBUG_CATEGORY (gst_d3d11_overlay_compositor_debug);
 GST_DEBUG_CATEGORY (gst_d3d11_window_debug);
 GST_DEBUG_CATEGORY (gst_d3d11_video_processor_debug);
-GST_DEBUG_CATEGORY (gst_d3d11_compositor_debug);
 GST_DEBUG_CATEGORY (gst_d3d11_decoder_debug);
 GST_DEBUG_CATEGORY (gst_d3d11_h264_dec_debug);
 GST_DEBUG_CATEGORY (gst_d3d11_h265_dec_debug);
@@ -126,8 +124,6 @@ plugin_init (GstPlugin * plugin)
       "d3d11window", 0, "d3d11window");
   GST_DEBUG_CATEGORY_INIT (gst_d3d11_video_processor_debug,
       "d3d11videoprocessor", 0, "d3d11videoprocessor");
-  GST_DEBUG_CATEGORY_INIT (gst_d3d11_compositor_debug,
-      "d3d11compositor", 0, "d3d11compositor element");
 
   if (!gst_d3d11_shader_init ()) {
     GST_WARNING ("Cannot initialize d3d11 shader");
@@ -223,9 +219,7 @@ plugin_init (GstPlugin * plugin)
       "d3d11videosink", video_sink_rank, GST_TYPE_D3D11_VIDEO_SINK);
 
   gst_element_register (plugin,
-      "d3d11compositorelement", GST_RANK_NONE, GST_TYPE_D3D11_COMPOSITOR);
-  gst_element_register (plugin,
-      "d3d11compositor", GST_RANK_SECONDARY, GST_TYPE_D3D11_COMPOSITOR_BIN);
+      "d3d11compositor", GST_RANK_SECONDARY, GST_TYPE_D3D11_COMPOSITOR);
   gst_element_register (plugin,
       "d3d11testsrc", GST_RANK_NONE, GST_TYPE_D3D11_TEST_SRC);