summaryrefslogtreecommitdiff
path: root/sys/d3dvideosink/directx/directx11/dx11.c
diff options
context:
space:
mode:
authorDavid Schleef <ds@schleef.org>2011-06-04 18:43:45 -0700
committerDavid Schleef <ds@schleef.org>2011-06-04 19:01:16 -0700
commit655e511a5c1704df907eaa62d6d9a6d32d2fd032 (patch)
tree383b246e0f5940e22e2e2f3f49f2730a4dd515d9 /sys/d3dvideosink/directx/directx11/dx11.c
parent7b12d4647a8a6a549143cdb6afa9294d1192efda (diff)
downloadgstreamer-plugins-bad-655e511a5c1704df907eaa62d6d9a6d32d2fd032.tar.gz
d3dvideosink: Add plugin
Fixes #651782. Patch from various authors, by way of ossbuild.
Diffstat (limited to 'sys/d3dvideosink/directx/directx11/dx11.c')
-rw-r--r--sys/d3dvideosink/directx/directx11/dx11.c27
1 files changed, 27 insertions, 0 deletions
diff --git a/sys/d3dvideosink/directx/directx11/dx11.c b/sys/d3dvideosink/directx/directx11/dx11.c
new file mode 100644
index 000000000..2cfe18746
--- /dev/null
+++ b/sys/d3dvideosink/directx/directx11/dx11.c
@@ -0,0 +1,27 @@
+/* GStreamer
+ * Copyright (C) 2011 David Hoyt <dhoyt@hoytsoft.org>
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Library General Public
+ * License as published by the Free Software Foundation; either
+ * version 2 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Library General Public License for more details.
+ *
+ * You should have received a copy of the GNU Library General Public
+ * License along with this library; if not, write to the
+ * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+ * Boston, MA 02111-1307, USA.
+ */
+
+#include "dx11.h"
+
+void
+dx11_init (const DirectXAPI * api)
+{
+ DIRECTX_DEBUG ("Initializing DirectX11 API");
+ INITIALIZE_DIRECTX_D3D_API (DIRECTX_11, api);
+}