projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4564564
)
mimdec: Stop decoding if can't push
author
Olivier Crête
<olivier.crete@collabora.co.uk>
Wed, 2 Jun 2010 23:45:29 +0000
(19:45 -0400)
committer
Olivier Crête
<olivier.crete@collabora.co.uk>
Thu, 3 Jun 2010 01:03:54 +0000
(21:03 -0400)
ext/mimic/gstmimdec.c
patch
|
blob
|
history
diff --git
a/ext/mimic/gstmimdec.c
b/ext/mimic/gstmimdec.c
index fa8ab9c23ec4091f9af737bc1b55088a985ab137..f60fcd4860c86653dd4eef5324f6c209a19bdfc1 100644
(file)
--- a/
ext/mimic/gstmimdec.c
+++ b/
ext/mimic/gstmimdec.c
@@
-301,6
+301,9
@@
gst_mim_dec_chain (GstPad * pad, GstBuffer * buf)
gst_buffer_set_caps (out_buf, caps);
gst_caps_unref (caps);
res = gst_pad_push (mimdec->srcpad, out_buf);
+
+ if (res != GST_FLOW_OK)
+ break;
}
out: