basesrc: Don't send error if negotiate fails because we are flushing
authorNicolas Dufresne <nicolas.dufresne@collabora.co.uk>
Fri, 22 Mar 2013 01:00:54 +0000 (21:00 -0400)
committerSebastian Dröge <sebastian.droege@collabora.co.uk>
Mon, 25 Mar 2013 07:57:06 +0000 (08:57 +0100)
commit253035d395310b4a0aa6802a7f7844f866810626
tree23321cee60394c7f0b223ec9ac6cfb9087f0be0e
parenta76885f333b159671a356cc46bc2ffcb7d6b3d4f
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
libs/gst/base/gstbasesrc.c