[Bug 775382] New: wavparse: Report ERROR,: The stream is of a different type than handled by this element
GStreamer (GNOME Bugzilla)
bugzilla at gnome.org
Wed Nov 30 08:35:03 UTC 2016
https://bugzilla.gnome.org/show_bug.cgi?id=775382
Bug ID: 775382
Summary: wavparse: Report ERROR,: The stream is of a different
type than handled by this element
Classification: Platform
Product: GStreamer
Version: 1.10.x
OS: Linux
Status: NEW
Severity: normal
Priority: Normal
Component: gst-plugins-good
Assignee: gstreamer-bugs at lists.freedesktop.org
Reporter: lyon.wang at nxp.com
QA Contact: gstreamer-bugs at lists.freedesktop.org
GNOME version: ---
When we switch from gst1.8 to gst1.10
There is an error reported by wavparse when parse 48KHz wav file
The command line:
gst-launch-1.0 filesrc location= input.wav ! wavparse ! filesink
location=/tmp/tmp.pcm
0:00:00.353352667 8971 0x9635b0 WARN wavparse
gstwavparse.c:2221:gst_wavparse_loop:<wavparse0> error: No valid input found
before end of stream
ERROR: from element /GstPipeline:pipeline0/GstWavParse:wavparse0: The stream is
of a different type than handled by this element.
Additional debug info:
../../../gst-plugins-good-1.10.0/gst/wavparse/gstwavparse.c(2221):
gst_wavparse_loop (): /GstPipeline:pipeline0/GstWavParse:wavparse0:
No valid input found before end of stream
Execution ended after 0:00:00.007412334
There is no such issue on gst1.8.
After doing some test, when wav sample rate is 44.1kHz, there is no error
reported.
Checked gstwavparse.c in gst_wavparse_loop():
if (wav->state == GST_WAVPARSE_START || !wav->caps) {
GST_ELEMENT_ERROR (wav, STREAM, WRONG_TYPE, (NULL),
("No valid input found before end of stream"));
gst_pad_push_event (wav->srcpad, gst_event_new_eos ());
}
Seems here wav->caps is NULL, and in gst1.8 no this caps check.
Also attached the wav file I tested (although other 48k/22.05k Hz wav can
reproduce this issue.)
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
More information about the gstreamer-bugs
mailing list