Don't unref event after calling the default handler
authorWim Taymans <wim.taymans@gmail.com>
Fri, 2 Aug 2002 11:32:37 +0000 (11:32 +0000)
committerWim Taymans <wim.taymans@gmail.com>
Fri, 2 Aug 2002 11:32:37 +0000 (11:32 +0000)
Original commit message from CVS:
Don't unref event after calling the default handler

ext/sdl/sdlvideosink.c

index ee6e0b6..fc6247e 100644 (file)
@@ -436,7 +436,7 @@ gst_sdlvideosink_chain (GstPad *pad, GstBuffer *buf)
        break;
       default:
        gst_pad_event_default (pad, event);
-       break;
+       return;
     }
     gst_event_unref (event);
     return;