Commit bb6c6585 authored by Thomas Vander Stichele's avatar Thomas Vander Stichele
Browse files

Fix for #154773 - fixes playback of small .wav files

Original commit message from CVS:
Fix for #154773 - fixes playback of small .wav files
parent 9de0a0af
2005-01-04 Thomas Vander Stichele <thomas at apestaart dot org>
patch by: Ronald Bultje <rbultje@ronald.bitfreak.net>
* gst/playback/gstplaybasebin.c:
* gst/wavparse/gstwavparse.c:
Fix for #154773 - fixes playback of small .wav files
2005-01-03 Thomas Vander Stichele <thomas at apestaart dot org>
patch by: Ronald Bultje <rbultje@ronald.bitfreak.net>
......
......@@ -561,6 +561,7 @@ gst_wavparse_fmt (GstWavParse * wav)
gst_pad_set_explicit_caps (wav->srcpad, caps);
gst_caps_free (caps);
gst_element_add_pad (GST_ELEMENT (wav), wav->srcpad);
gst_element_no_more_pads (GST_ELEMENT (wav));
GST_DEBUG ("frequency %d, channels %d", wav->rate, wav->channels);
} else {
GST_ELEMENT_ERROR (wav, STREAM, TYPE_NOT_FOUND, (NULL), (NULL));
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment