summaryrefslogtreecommitdiffstats
path: root/gst
diff options
context:
space:
mode:
authorThomas Vander Stichele <thomas@apestaart.org>2005-01-04 11:09:19 +0000
committerThomas Vander Stichele <thomas@apestaart.org>2005-01-04 11:09:19 +0000
commitbb6c6585c8892e949aa585e5478582815eed5570 (patch)
tree7475ce45306f6bb73de61b0bf5d4a20af49ea6d7 /gst
parent9de0a0af10c09b1ccd2b2d88690785445e980c49 (diff)
Fix for #154773 - fixes playback of small .wav files
Original commit message from CVS: Fix for #154773 - fixes playback of small .wav files
Diffstat (limited to 'gst')
-rw-r--r--gst/wavparse/gstwavparse.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gst/wavparse/gstwavparse.c b/gst/wavparse/gstwavparse.c
index 350648df..b708cee4 100644
--- a/gst/wavparse/gstwavparse.c
+++ b/gst/wavparse/gstwavparse.c
@@ -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));