From bb6c6585c8892e949aa585e5478582815eed5570 Mon Sep 17 00:00:00 2001 From: Thomas Vander Stichele Date: Tue, 4 Jan 2005 11:09:19 +0000 Subject: [PATCH] Fix for #154773 - fixes playback of small .wav files Original commit message from CVS: Fix for #154773 - fixes playback of small .wav files --- ChangeLog | 8 ++++++++ gst/wavparse/gstwavparse.c | 1 + 2 files changed, 9 insertions(+) diff --git a/ChangeLog b/ChangeLog index ed92ea2518..6ace607663 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +2005-01-04 Thomas Vander Stichele + + patch by: Ronald Bultje + + * gst/playback/gstplaybasebin.c: + * gst/wavparse/gstwavparse.c: + Fix for #154773 - fixes playback of small .wav files + 2005-01-03 Thomas Vander Stichele patch by: Ronald Bultje diff --git a/gst/wavparse/gstwavparse.c b/gst/wavparse/gstwavparse.c index 350648df60..b708cee4a1 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));