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
@ -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…
x
Reference in New Issue
Block a user