Original commit message from CVS:
* ext/gnomevfs/gstgnomevfssink.c:
(gst_gnome_vfs_sink_handle_event):
Return FALSE when seeking for a new segment fails instead
of silently ignoring the failure and appending every buffer
that comes for the new segment.
+2008-02-20 Sebastian Dröge <slomo@circular-chaos.org>
+
+ * ext/gnomevfs/gstgnomevfssink.c:
+ (gst_gnome_vfs_sink_handle_event):
+ Return FALSE when seeking for a new segment fails instead
+ of silently ignoring the failure and appending every buffer
+ that comes for the new segment.
+
2008-02-20 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/playback/gstplaysink.c: (find_property),
gst_gnome_vfs_sink_handle_event (GstBaseSink * basesink, GstEvent * event)
{
GstGnomeVFSSink *sink;
+ gboolean ret = TRUE;
sink = GST_GNOME_VFS_SINK (basesink);
if (res != GNOME_VFS_OK) {
GST_ERROR_OBJECT (sink, "Failed to seek to offset %"
G_GINT64_FORMAT ": %s", offset, gnome_vfs_result_to_string (res));
+ ret = FALSE;
} else {
sink->current_pos = offset;
}
case GST_EVENT_FLUSH_START:
case GST_EVENT_EOS:{
- /* how does Gnome-VFS flush? Do we need to flush? */
+ /* No need to flush with GnomeVfs */
break;
}
default:
break;
}
- return TRUE;
+ return ret;
}
static gboolean