video: Remove custom marshallers

This commit is contained in:
Sebastian Dröge 2012-04-24 18:16:27 +02:00
parent a0e3a9e32d
commit 3ab5be1cff
5 changed files with 5 additions and 12 deletions

View file

@ -1,19 +1,17 @@
# variables used for enum/marshal generation
# variables used for enum generation
glib_enum_headers = video.h colorbalance.h navigation.h
glib_enum_define = GST_VIDEO
glib_gen_prefix = gst_video
glib_gen_basename = video
built_sources = video-enumtypes.c video-marshal.c
built_headers = video-enumtypes.h video-marshal.h
built_sources = video-enumtypes.c
built_headers = video-enumtypes.h
BUILT_SOURCES = $(built_sources) $(built_headers)
lib_LTLIBRARIES = libgstvideo-@GST_API_VERSION@.la
CLEANFILES = $(BUILT_SOURCES)
EXTRA_DIST = video-marshal.list
libgstvideo_@GST_API_VERSION@_la_SOURCES = \
colorbalance.c \
colorbalancechannel.c \

View file

@ -25,7 +25,6 @@
#endif
#include "colorbalance.h"
#include "video-marshal.h"
/**
* SECTION:gstcolorbalance
@ -99,8 +98,7 @@ gst_color_balance_class_init (GstColorBalanceInterface * iface)
g_signal_new ("value-changed",
GST_TYPE_COLOR_BALANCE, G_SIGNAL_RUN_LAST,
G_STRUCT_OFFSET (GstColorBalanceInterface, value_changed),
NULL, NULL,
gst_video_marshal_VOID__OBJECT_INT,
NULL, NULL, NULL,
G_TYPE_NONE, 2, GST_TYPE_COLOR_BALANCE_CHANNEL, G_TYPE_INT);
initialized = TRUE;

View file

@ -96,8 +96,7 @@ gst_color_balance_channel_class_init (GstColorBalanceChannelClass * klass)
g_signal_new ("value-changed", G_TYPE_FROM_CLASS (klass),
G_SIGNAL_RUN_LAST,
G_STRUCT_OFFSET (GstColorBalanceChannelClass,
value_changed),
NULL, NULL, g_cclosure_marshal_VOID__INT, G_TYPE_NONE, 1, G_TYPE_INT);
value_changed), NULL, NULL, NULL, G_TYPE_NONE, 1, G_TYPE_INT);
object_klass->dispose = gst_color_balance_channel_dispose;
}

View file

@ -1 +0,0 @@
VOID:OBJECT,INT

View file

@ -24,7 +24,6 @@
#endif
#include "videoorientation.h"
#include "video-marshal.h"
#include <string.h>