videorate: don't unref event we don't own
authorTim-Philipp Müller <tim.muller@collabora.co.uk>
Tue, 20 Sep 2011 12:35:55 +0000 (13:35 +0100)
committerTim-Philipp Müller <tim.muller@collabora.co.uk>
Tue, 20 Sep 2011 12:35:55 +0000 (13:35 +0100)
http://bugzilla.gnome.org/show_bug.cgi?id=659562

gst/videorate/gstvideorate.c

index 307ebc2..67aefc4 100644 (file)
@@ -623,7 +623,6 @@ format_error:
   {
     GST_WARNING_OBJECT (videorate,
         "Got segment but doesn't have GST_FORMAT_TIME value");
-    gst_event_unref (event);
     return FALSE;
   }
 }