From 6c51a29b9a2839e62e8403c6b35060ae59a58cf2 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Tim-Philipp=20M=C3=BCller?= Date: Mon, 24 Jan 2005 11:04:37 +0000 Subject: [PATCH] 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 --- ChangeLog | 5 +++++ gst/elements/gstfilesink.c | 1 + plugins/elements/gstfilesink.c | 1 + 3 files changed, 7 insertions(+) diff --git a/ChangeLog b/ChangeLog index 01e8578..715ca6b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2005-01-24 Tim-Philipp Müller + + * gst/elements/gstfilesink.c: (gst_filesink_handle_event): + Don't unref seek event twice when fflush() fails + 2005-01-22 David Schleef * configure.ac: Add --disable-valgrind. (partial fix for #164890) diff --git a/gst/elements/gstfilesink.c b/gst/elements/gstfilesink.c index 992febf..a575d5a 100644 --- a/gst/elements/gstfilesink.c +++ b/gst/elements/gstfilesink.c @@ -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; } } diff --git a/plugins/elements/gstfilesink.c b/plugins/elements/gstfilesink.c index 992febf..a575d5a 100644 --- a/plugins/elements/gstfilesink.c +++ b/plugins/elements/gstfilesink.c @@ -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; } } -- 2.7.4