gdkpixbuf: re-enable already-ported gdkpixbufsink

This commit is contained in:
Tim-Philipp Müller 2012-08-22 10:23:24 +01:00
parent 39411ab4eb
commit c71248662d
2 changed files with 5 additions and 15 deletions

View file

@ -5,14 +5,11 @@ plugin_LTLIBRARIES = libgstgdkpixbuf.la
# gstgdkanimation.[ch] - GdkPixbuf animations decode everything from the start, # gstgdkanimation.[ch] - GdkPixbuf animations decode everything from the start,
# which means it's easy to make us go OOM with manipulated input, disabled # which means it's easy to make us go OOM with manipulated input, disabled
# TO PORT:
# gstgdkpixbufsink.c gstgdkpixbufoverlay.c
# gstgdkpixbufsink.h gstgdkpixbufoverlay.h
libgstgdkpixbuf_la_SOURCES = \ libgstgdkpixbuf_la_SOURCES = \
gstgdkpixbufdec.c \
gstgdkpixbufoverlay.c \ gstgdkpixbufoverlay.c \
gstgdkpixbufplugin.c \ gstgdkpixbufplugin.c \
gstgdkpixbufdec.c gstgdkpixbufsink.c
libgstgdkpixbuf_la_CFLAGS = \ libgstgdkpixbuf_la_CFLAGS = \
$(GST_PLUGINS_BASE_CFLAGS) \ $(GST_PLUGINS_BASE_CFLAGS) \
$(GST_CONTROLLER_CFLAGS) \ $(GST_CONTROLLER_CFLAGS) \
@ -28,4 +25,5 @@ libgstgdkpixbuf_la_LIBTOOLFLAGS = --tag=disable-static
noinst_HEADERS = \ noinst_HEADERS = \
gstgdkpixbufdec.h \ gstgdkpixbufdec.h \
gstgdkpixbufoverlay.h gstgdkpixbufoverlay.h \
gstgdkpixbufsink.h

View file

@ -26,10 +26,7 @@
#include "gstgdkpixbufdec.h" #include "gstgdkpixbufdec.h"
#include "gstgdkpixbufoverlay.h" #include "gstgdkpixbufoverlay.h"
#if 0
#include "gstgdkpixbufsink.h" #include "gstgdkpixbufsink.h"
#endif
#if 0 #if 0
@ -97,18 +94,13 @@ plugin_init (GstPlugin * plugin)
GST_TYPE_GDK_PIXBUF_OVERLAY)) GST_TYPE_GDK_PIXBUF_OVERLAY))
return FALSE; return FALSE;
#if 0
if (!gst_element_register (plugin, "gdkpixbufsink", GST_RANK_NONE, if (!gst_element_register (plugin, "gdkpixbufsink", GST_RANK_NONE,
GST_TYPE_GDK_PIXBUF_SINK)) GST_TYPE_GDK_PIXBUF_SINK))
return FALSE; return FALSE;
#endif
return TRUE; return TRUE;
} }
/* this is the structure that gst-register looks for
* so keep the name plugin_desc, or you cannot get your plug-in registered */
GST_PLUGIN_DEFINE (GST_VERSION_MAJOR, GST_PLUGIN_DEFINE (GST_VERSION_MAJOR,
GST_VERSION_MINOR, GST_VERSION_MINOR,
gdkpixbuf, gdkpixbuf,