Don't unref seek event twice in case where fflush() fails

Original commit message from CVS:
Don't unref seek event twice in case where fflush() fails
This commit is contained in:
Tim-Philipp Müller 2005-01-24 11:04:37 +00:00
parent e409d977e8
commit 6c51a29b9a
3 changed files with 7 additions and 0 deletions

View file

@ -1,3 +1,8 @@
2005-01-24 Tim-Philipp Müller <tim at centricular dot net>
* gst/elements/gstfilesink.c: (gst_filesink_handle_event):
Don't unref seek event twice when fflush() fails
2005-01-22 David Schleef <ds@schleef.org>
* configure.ac: Add --disable-valgrind. (partial fix for #164890)

View file

@ -363,6 +363,7 @@ gst_filesink_handle_event (GstPad * pad, GstEvent * event)
GST_ELEMENT_ERROR (filesink, RESOURCE, WRITE,
(_("Error while writing to file \"%s\"."), filesink->filename),
GST_ERROR_SYSTEM);
return FALSE;
}
}

View file

@ -363,6 +363,7 @@ gst_filesink_handle_event (GstPad * pad, GstEvent * event)
GST_ELEMENT_ERROR (filesink, RESOURCE, WRITE,
(_("Error while writing to file \"%s\"."), filesink->filename),
GST_ERROR_SYSTEM);
return FALSE;
}
}