mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-24 02:31:03 +00:00
[056/906] * configure.ac: Readd pre-pkgconfig OpenGL detection, since pkgconfig requires Mesa from git master. * gst/gl/glimagesink.c: * gst/gl/gstopengl.c: Move debug category initialization to element. * gst-libs/gst/gl/Makefile.am: * gst-libs/gst/gl/gstglfilter.c: * gst-libs/gst/gl/gstglfilter.h: * gst/gl/gstglfilter.c: * gst/gl/gstglfilter.h: Move glfilter to library. * pkgconfig/gstreamer-plugins-gl.pc.in: Add gstreamer-base-0.10 as a requirement. * po/en.po: Update.
This commit is contained in:
parent
38699b8db5
commit
0a3e152339
5 changed files with 13 additions and 8 deletions
|
@ -4,13 +4,15 @@ lib_LTLIBRARIES = libgstgl-@GST_MAJORMINOR@.la
|
|||
libgstgl_@GST_MAJORMINOR@_la_SOURCES = \
|
||||
glextensions.c \
|
||||
gstglbuffer.c \
|
||||
gstgldisplay.c
|
||||
gstgldisplay.c \
|
||||
gstglfilter.c
|
||||
|
||||
libgstgl_@GST_MAJORMINOR@includedir = $(includedir)/gstreamer-@GST_MAJORMINOR@/gst/gl
|
||||
libgstgl_@GST_MAJORMINOR@include_HEADERS = \
|
||||
glextensions.h \
|
||||
gstglbuffer.h \
|
||||
gstgldisplay.h
|
||||
gstgldisplay.h \
|
||||
gstglfilter.h
|
||||
|
||||
libgstgl_@GST_MAJORMINOR@_la_LIBADD = \
|
||||
$(GST_PLUGINS_BASE_LIBS) $(GST_BASE_LIBS) $(GST_LIBS) \
|
||||
|
|
|
@ -98,8 +98,14 @@ enum
|
|||
ARG_DISPLAY
|
||||
};
|
||||
|
||||
#define DEBUG_INIT(bla) do { \
|
||||
GST_DEBUG_CATEGORY_INIT (gst_debug_glimage_sink, "glimagesink", 0, "glimagesink element"); \
|
||||
gst_glimage_sink_init_interfaces(bla); \
|
||||
}while(0);
|
||||
|
||||
|
||||
GST_BOILERPLATE_FULL (GstGLImageSink, gst_glimage_sink, GstVideoSink,
|
||||
GST_TYPE_VIDEO_SINK, gst_glimage_sink_init_interfaces);
|
||||
GST_TYPE_VIDEO_SINK, DEBUG_INIT);
|
||||
|
||||
static void
|
||||
gst_glimage_sink_init_interfaces (GType type)
|
||||
|
|
|
@ -42,9 +42,6 @@ GType gst_gl_test_src_get_type (void);
|
|||
static gboolean
|
||||
plugin_init (GstPlugin * plugin)
|
||||
{
|
||||
GST_DEBUG_CATEGORY_INIT (gst_debug_glimage_sink, "glimagesink", 0,
|
||||
"glimagesink element");
|
||||
|
||||
if (!gst_element_register (plugin, "glimagesink",
|
||||
GST_RANK_SECONDARY, GST_TYPE_GLIMAGE_SINK)) {
|
||||
return FALSE;
|
||||
|
@ -75,6 +72,6 @@ plugin_init (GstPlugin * plugin)
|
|||
|
||||
GST_PLUGIN_DEFINE (GST_VERSION_MAJOR,
|
||||
GST_VERSION_MINOR,
|
||||
"glimagesink",
|
||||
"OpenGL video output plugin",
|
||||
"opengl",
|
||||
"plugin for elements using OpenGL",
|
||||
plugin_init, VERSION, GST_LICENSE, GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN)
|
||||
|
|
Loading…
Reference in a new issue