mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-19 00:01:23 +00:00
Fix for #154773 - fixes playback of small .wav files
Original commit message from CVS: Fix for #154773 - fixes playback of small .wav files
This commit is contained in:
parent
9de0a0af10
commit
bb6c6585c8
2 changed files with 9 additions and 0 deletions
|
@ -1,3 +1,11 @@
|
|||
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));
|
||||
|
|
Loading…
Reference in a new issue