projects
/
platform
/
upstream
/
gst-plugins-good.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6511730
)
pngdec: use png_error() as recommended by libpng docs to signal an error
author
Stefan Kost
<ensonic@users.sf.net>
Mon, 8 Nov 2010 12:47:04 +0000
(14:47 +0200)
committer
Stefan Kost
<ensonic@users.sf.net>
Fri, 3 Dec 2010 07:49:26 +0000
(09:49 +0200)
Without that the element loops endlessly on broekn pngs. Fixes #634314
ext/libpng/gstpngdec.c
patch
|
blob
|
history
diff --git
a/ext/libpng/gstpngdec.c
b/ext/libpng/gstpngdec.c
index
ae9460d
..
47090e5
100644
(file)
--- a/
ext/libpng/gstpngdec.c
+++ b/
ext/libpng/gstpngdec.c
@@
-343,6
+343,7
@@
pause:
("stream stopped, reason %s", gst_flow_get_name (ret)));
gst_pad_push_event (pngdec->srcpad, gst_event_new_eos ());
}
+ png_error (png_ptr, "Internal data stream error.");
return;
}
short_buffer: