diff options
author | Sebastian Dröge <sebastian@centricular.com> | 2014-07-19 16:25:53 +0200 |
---|---|---|
committer | Sebastian Dröge <sebastian@centricular.com> | 2014-07-19 16:25:53 +0200 |
commit | 9a031092d5459534c9383ec51c84863f4863b266 (patch) | |
tree | 7aa583fc1596525f184958afdf5fbca64321e636 /libs/gst/base/gstbaseparse.c | |
parent | 98dca7e37c70596c7df3a5e1f4297c1318c18fa6 (diff) |
Imported Upstream version 1.4.0upstream/1.4.0
Diffstat (limited to 'libs/gst/base/gstbaseparse.c')
-rw-r--r-- | libs/gst/base/gstbaseparse.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libs/gst/base/gstbaseparse.c b/libs/gst/base/gstbaseparse.c index fb31c9e..fdc2673 100644 --- a/libs/gst/base/gstbaseparse.c +++ b/libs/gst/base/gstbaseparse.c @@ -2358,6 +2358,9 @@ gst_base_parse_push_frame (GstBaseParse * parse, GstBaseParseFrame * frame) /* ERRORS */ no_caps: { + if (GST_PAD_IS_FLUSHING (parse->srcpad)) + return GST_FLOW_FLUSHING; + GST_ELEMENT_ERROR (parse, STREAM, DECODE, ("No caps set"), (NULL)); return GST_FLOW_ERROR; } |