GNOME Bugzilla – Bug 627341
wavparse: strange handling of files less than 12 bytes
Last modified: 2010-09-04 13:15:25 UTC
gst_wavparse_parse_stream_init (): if the file is smaller that 12 bytes, it will not check the file header, and it will return GST_FLOW_OK. Another problem, seems to be when trying to play an empty text file, gst_wavparse_sink_event () will not receive GST_EVENT_NEWSEGMENT event (in which the file is checked for correctness) and it only receives GST_EVENT_EOS.
Thanks for reporting, I'll push the attached patch after the upcoming release.
Created attachment 168277 [details] [review] wavparse: Post an error message if EOS happens before valid input is found Fixes bug #627341.
commit 95f5b494faccf8e858197457256ccf3cb1ef61e6 Author: Sebastian Dröge <sebastian.droege@collabora.co.uk> Date: Thu Aug 19 12:23:16 2010 +0200 wavparse: Post an error message if EOS happens before valid input is found Fixes bug #627341.