deinterlace: Don't treat every custom-downstream event as EOS
authorJan Schmidt <thaytan@noraisin.net>
Tue, 11 Sep 2012 05:09:59 +0000 (22:09 -0700)
committerJan Schmidt <thaytan@noraisin.net>
Wed, 12 Sep 2012 19:23:08 +0000 (12:23 -0700)
Don't fall through to the EOS handling after receiving a
custom-downstream event.

gst/deinterlace/gstdeinterlace.c

index 61ea701..280d186 100644 (file)
@@ -2545,8 +2545,10 @@ gst_deinterlace_sink_event (GstPad * pad, GstObject * parent, GstEvent * event)
           self->still_frame_mode = FALSE;
         }
       }
+
+      res = gst_pad_push_event (self->srcpad, event);
+      break;
     }
-      /* fall through */
     case GST_EVENT_EOS:
       self->have_eos = TRUE;
       gst_deinterlace_reset_history (self, FALSE);