rtsp: use generic marshaller

This commit is contained in:
Tim-Philipp Müller 2014-10-24 10:17:47 +01:00
parent 0eea730523
commit db89f0dca4
5 changed files with 3 additions and 10 deletions

View file

@ -28,7 +28,6 @@ rtsp_LOCAL_SRC_FILES_BASE:= \
gst-libs/gst/rtsp/gstrtsprange.c \
gst-libs/gst/rtsp/gstrtsptransport.c \
gst-libs/gst/rtsp/gstrtspurl.c \
gst-libs/gst/rtsp/gstrtsp-marshal.c \
gst-libs/gst/rtsp/gstrtsp-enumtypes.c
LOCAL_SRC_FILES:= $(addprefix ../,$(rtsp_LOCAL_SRC_FILES_BASE))

View file

@ -1,4 +1,2 @@
gstrtsp-enumtypes.c
gstrtsp-enumtypes.h
gstrtsp-marshal.c
gstrtsp-marshal.h

View file

@ -16,8 +16,8 @@ libgstrtspinclude_HEADERS = \
lib_LTLIBRARIES = libgstrtsp-@GST_API_VERSION@.la
built_sources = gstrtsp-marshal.c gstrtsp-enumtypes.c
built_headers = gstrtsp-marshal.h gstrtsp-enumtypes.h
built_sources = gstrtsp-enumtypes.c
built_headers = gstrtsp-enumtypes.h
libgstrtsp_@GST_API_VERSION@_la_SOURCES = gstrtsptransport.c \
gstrtspurl.c \
@ -38,7 +38,6 @@ libgstrtsp_@GST_API_VERSION@_la_LIBADD = $(GST_LIBS) $(GIO_LIBS) $(LIBM)
libgstrtsp_@GST_API_VERSION@_la_LDFLAGS = $(GST_LIB_LDFLAGS) $(GST_ALL_LDFLAGS) $(GST_LT_LDFLAGS) $(WIN32_LIBS)
BUILT_SOURCES = $(built_headers) $(built_sources)
EXTRA_DIST = gstrtsp-marshal.list
CLEANFILES = $(BUILT_SOURCES)
glib_gen_prefix = __gst_rtsp

View file

@ -1,2 +0,0 @@
# rtsp marshallers
ENUM:POINTER,POINTER

View file

@ -35,7 +35,6 @@
#include "config.h"
#endif
#include "gstrtsp-marshal.h"
#include "gstrtsp-enumtypes.h"
#include "gstrtspextension.h"
@ -82,7 +81,7 @@ gst_rtsp_extension_iface_init (GstRTSPExtension * iface)
gst_rtsp_extension_signals[SIGNAL_SEND] =
g_signal_new ("send", G_TYPE_FROM_CLASS (iface),
G_SIGNAL_RUN_LAST, G_STRUCT_OFFSET (GstRTSPExtensionInterface,
send), NULL, NULL, __gst_rtsp_marshal_ENUM__POINTER_POINTER,
send), NULL, NULL, g_cclosure_marshal_generic,
GST_TYPE_RTSP_RESULT, 2, G_TYPE_POINTER, G_TYPE_POINTER);
initialized = TRUE;
}