mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-03-28 11:55:39 +00:00
pngdec: use png_error() as recommended by libpng docs to signal an error
Without that the element loops endlessly on broekn pngs. Fixes #634314
This commit is contained in:
parent
6511730ba1
commit
a513a7be75
1 changed files with 1 additions and 0 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue