summaryrefslogtreecommitdiff
path: root/gst/camerabin2/gstwrappercamerabinsrc.c
diff options
context:
space:
mode:
authorThiago Santos <ts.santos@osg.samsung.com>2014-07-23 13:37:05 -0300
committerThiago Santos <ts.santos@osg.samsung.com>2014-07-23 13:58:26 -0300
commit19d5be4c3a584a55f1099782608fc00ad5e0f14d (patch)
treefcb7c62f08fd314f3cadff19defa66f6b0fd9d72 /gst/camerabin2/gstwrappercamerabinsrc.c
parent29dd2156493878d012c41ca2763c84209795ee33 (diff)
downloadgstreamer-plugins-bad-19d5be4c3a584a55f1099782608fc00ad5e0f14d.tar.gz
camerabin: handle EOS on the pipeline
Make camerabin handle EOS to the pipeline to allow standard pipeline close where an EOS is sent to the whole pipeline before setting it to NULL.
Diffstat (limited to 'gst/camerabin2/gstwrappercamerabinsrc.c')
-rw-r--r--gst/camerabin2/gstwrappercamerabinsrc.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/gst/camerabin2/gstwrappercamerabinsrc.c b/gst/camerabin2/gstwrappercamerabinsrc.c
index 32fb38ee0..b25b8ad10 100644
--- a/gst/camerabin2/gstwrappercamerabinsrc.c
+++ b/gst/camerabin2/gstwrappercamerabinsrc.c
@@ -312,10 +312,6 @@ gst_wrapper_camera_src_src_event_probe (GstPad * pad, GstPadProbeInfo * info,
GstEvent *evt = GST_EVENT (info->data);
switch (GST_EVENT_TYPE (evt)) {
- case GST_EVENT_EOS:
- /* drop */
- ret = GST_PAD_PROBE_DROP;
- break;
case GST_EVENT_SEGMENT:
if (self->drop_newseg) {
ret = GST_PAD_PROBE_DROP;