[gst-cvs] gst-plugins-base: gstgnomevfssink: Return the proper GstFlowReturn.
Edward Hervey
bilboed at kemper.freedesktop.org
Thu Apr 1 10:04:46 PDT 2010
Module: gst-plugins-base
Branch: master
Commit: daa5b34d5f7f90041930e5fa18e82ee82f9eb74f
URL: http://cgit.freedesktop.org/gstreamer/gst-plugins-base/commit/?id=daa5b34d5f7f90041930e5fa18e82ee82f9eb74f
Author: Edward Hervey <bilboed at bilboed.com>
Date: Thu Apr 1 13:48:42 2010 +0200
gstgnomevfssink: Return the proper GstFlowReturn.
We were always returning GST_FLOW_OK previously even if we encountered errors.
---
ext/gnomevfs/gstgnomevfssink.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/ext/gnomevfs/gstgnomevfssink.c b/ext/gnomevfs/gstgnomevfssink.c
index b6d88f2..1a5f31f 100644
--- a/ext/gnomevfs/gstgnomevfssink.c
+++ b/ext/gnomevfs/gstgnomevfssink.c
@@ -573,7 +573,7 @@ gst_gnome_vfs_sink_render (GstBaseSink * basesink, GstBuffer * buf)
}
}
- return GST_FLOW_OK;
+ return ret;
}
/*** GSTURIHANDLER INTERFACE *************************************************/
More information about the Gstreamer-commits
mailing list