videorate: don't unref event we don't own

http://bugzilla.gnome.org/show_bug.cgi?id=659562
This commit is contained in:
Tim-Philipp Müller 2011-09-20 13:35:55 +01:00
parent 61c6fcb2cd
commit f57bbc585d

View 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;
}
}