mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 20:21:24 +00:00
srt: Fix signal args mismatch
client-added and client-{removed,closed} signals were defined to be emitted with two arguments (socket fd and address) https://bugzilla.gnome.org/show_bug.cgi?id=796842
This commit is contained in:
parent
d8015586b5
commit
8e18175080
2 changed files with 5 additions and 4 deletions
|
@ -48,8 +48,8 @@ struct _GstSRTServerSink {
|
|||
struct _GstSRTServerSinkClass {
|
||||
GstSRTBaseSinkClass parent_class;
|
||||
|
||||
void (*client_added) (GstSRTServerSink *self, int sock, struct sockaddr *addr, int addr_len);
|
||||
void (*client_removed) (GstSRTServerSink *self, int sock, struct sockaddr *addr, int addr_len);
|
||||
void (*client_added) (GstSRTServerSink *self, int sock, GSocketAddress *addr);
|
||||
void (*client_removed) (GstSRTServerSink *self, int sock, GSocketAddress *addr);
|
||||
|
||||
gpointer _gst_reserved[GST_PADDING_LARGE];
|
||||
};
|
||||
|
|
|
@ -22,6 +22,7 @@
|
|||
#define __GST_SRT_SERVER_SRC_H__
|
||||
|
||||
#include "gstsrtbasesrc.h"
|
||||
#include <gio/gio.h>
|
||||
#include <srt/srt.h>
|
||||
|
||||
G_BEGIN_DECLS
|
||||
|
@ -49,8 +50,8 @@ struct _GstSRTServerSrc {
|
|||
struct _GstSRTServerSrcClass {
|
||||
GstSRTBaseSrcClass parent_class;
|
||||
|
||||
void (*client_added) (GstSRTServerSrc *self, int sock, struct sockaddr *addr, int addr_len);
|
||||
void (*client_closed) (GstSRTServerSrc *self, int sock, struct sockaddr *addr, int addr_len);
|
||||
void (*client_added) (GstSRTServerSrc *self, int sock, GSocketAddress *addr);
|
||||
void (*client_closed) (GstSRTServerSrc *self, int sock, GSocketAddress *addr);
|
||||
|
||||
gpointer _gst_reserved[GST_PADDING_LARGE];
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue