summaryrefslogtreecommitdiffstats
path: root/sys/dxr3
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dxr3')
-rw-r--r--sys/dxr3/dxr3audiosink.c13
-rw-r--r--sys/dxr3/dxr3spusink.c9
-rw-r--r--sys/dxr3/dxr3videosink.c9
3 files changed, 0 insertions, 31 deletions
diff --git a/sys/dxr3/dxr3audiosink.c b/sys/dxr3/dxr3audiosink.c
index bff47594..58709e80 100644
--- a/sys/dxr3/dxr3audiosink.c
+++ b/sys/dxr3/dxr3audiosink.c
@@ -93,13 +93,6 @@ GST_STATIC_PAD_TEMPLATE (
);
-GST_PAD_EVENT_MASK_FUNCTION(dxr3audiosink_get_event_mask,
- { GST_EVENT_FLUSH, 0 },
- { GST_EVENT_DISCONTINUOUS, 0 },
- { GST_EVENT_EOS, 0 }
-)
-
-
static void dxr3audiosink_class_init (Dxr3AudioSinkClass *klass);
static void dxr3audiosink_base_init (Dxr3AudioSinkClass *klass);
static void dxr3audiosink_init (Dxr3AudioSink *sink);
@@ -235,12 +228,6 @@ dxr3audiosink_init (Dxr3AudioSink *sink)
gst_element_add_pad (GST_ELEMENT (sink), sink->ac3_sinkpad);
GST_FLAG_SET (GST_ELEMENT(sink), GST_ELEMENT_EVENT_AWARE);
- gst_pad_set_event_function (sink->pcm_sinkpad, dxr3audiosink_handle_event);
- gst_pad_set_event_mask_function (sink->pcm_sinkpad,
- dxr3audiosink_get_event_mask);
- gst_pad_set_event_function (sink->ac3_sinkpad, dxr3audiosink_handle_event);
- gst_pad_set_event_mask_function (sink->ac3_sinkpad,
- dxr3audiosink_get_event_mask);
sink->card_number = 0;
diff --git a/sys/dxr3/dxr3spusink.c b/sys/dxr3/dxr3spusink.c
index 00969c42..0b1ba010 100644
--- a/sys/dxr3/dxr3spusink.c
+++ b/sys/dxr3/dxr3spusink.c
@@ -70,13 +70,6 @@ GST_STATIC_PAD_TEMPLATE (
);
-GST_PAD_EVENT_MASK_FUNCTION (dxr3spusink_get_event_mask,
- { GST_EVENT_FLUSH, 0 },
- { GST_EVENT_DISCONTINUOUS, 0 },
- { GST_EVENT_EOS, 0 }
-)
-
-
static void dxr3spusink_class_init (Dxr3SpuSinkClass *klass);
static void dxr3spusink_base_init (Dxr3SpuSinkClass *klass);
static void dxr3spusink_init (Dxr3SpuSink *dxr3spusink);
@@ -228,8 +221,6 @@ dxr3spusink_init (Dxr3SpuSink *sink)
gst_pad_set_chain_function (pad, dxr3spusink_chain);
GST_FLAG_SET (GST_ELEMENT (sink), GST_ELEMENT_EVENT_AWARE);
- gst_pad_set_event_function (pad, dxr3spusink_handle_event);
- gst_pad_set_event_mask_function (pad, dxr3spusink_get_event_mask);
sink->card_number = 0;
diff --git a/sys/dxr3/dxr3videosink.c b/sys/dxr3/dxr3videosink.c
index 596a3831..9c4605e5 100644
--- a/sys/dxr3/dxr3videosink.c
+++ b/sys/dxr3/dxr3videosink.c
@@ -93,13 +93,6 @@ GST_STATIC_PAD_TEMPLATE (
);
-GST_PAD_EVENT_MASK_FUNCTION (dxr3videosink_get_event_mask,
- { GST_EVENT_FLUSH, 0 },
- { GST_EVENT_DISCONTINUOUS, 0 },
- { GST_EVENT_EOS, 0 }
-)
-
-
static void dxr3videosink_class_init (Dxr3VideoSinkClass *klass);
static void dxr3videosink_base_init (Dxr3VideoSinkClass *klass);
static void dxr3videosink_init (Dxr3VideoSink *dxr3videosink);
@@ -219,8 +212,6 @@ dxr3videosink_init (Dxr3VideoSink *sink)
gst_pad_set_chain_function (pad, dxr3videosink_chain);
GST_FLAG_SET (GST_ELEMENT (sink), GST_ELEMENT_EVENT_AWARE);
- gst_pad_set_event_function (pad, dxr3videosink_handle_event);
- gst_pad_set_event_mask_function (pad, dxr3videosink_get_event_mask);
sink->card_number = 0;