GNOME Bugzilla – Bug 696357
Basesrc may send not-neg error when flushed
Last modified: 2013-04-15 06:21:09 UTC
Basesrc may send error when flushed. This is because it does not properly detect this case when negotiation fails and assume it's a real failure.
Created attachment 239512 [details] [review] [PATCH] basesrc: Don't send error if negotiate fails because we are flushing Negotiation may be aborted by a flush from another thread that need to stop the task (i.e. seek). Check that case and silently pause the task. --- libs/gst/base/gstbasesrc.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-)
commit 253035d395310b4a0aa6802a7f7844f866810626 Author: Nicolas Dufresne <nicolas.dufresne@collabora.co.uk> Date: Thu Mar 21 21:00:54 2013 -0400 basesrc: Don't send error if negotiate fails because we are flushing Negotiation may be aborted by a flush from another thread that need to stop the task (i.e. seek). Check that case and silently pause the task. https://bugzilla.gnome.org/show_bug.cgi?id=696357