summaryrefslogtreecommitdiff
path: root/gst/audiotestsrc
diff options
context:
space:
mode:
authorWim Taymans <wim.taymans@gmail.com>2008-10-16 13:50:00 +0000
committerWim Taymans <wim.taymans@gmail.com>2008-10-16 13:50:00 +0000
commit5ad1ebcf4c24fc2d2d3b241aebf46d87575a3445 (patch)
treef6a73c52f2c3f97eae81c134b8df7eb8cee4c61d /gst/audiotestsrc
parent2d1806931d8a8bdaac35b964ad52d8db732b13da (diff)
gst/audiotestsrc/gstaudiotestsrc.c: Set the default blocksize to -1 because we will then use the configured samplespe...
Original commit message from CVS: * gst/audiotestsrc/gstaudiotestsrc.c: (gst_audio_test_src_init): Set the default blocksize to -1 because we will then use the configured samplesperbuffer to create our output buffer.
Diffstat (limited to 'gst/audiotestsrc')
-rw-r--r--gst/audiotestsrc/gstaudiotestsrc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gst/audiotestsrc/gstaudiotestsrc.c b/gst/audiotestsrc/gstaudiotestsrc.c
index f6f5a121a..6ac05078f 100644
--- a/gst/audiotestsrc/gstaudiotestsrc.c
+++ b/gst/audiotestsrc/gstaudiotestsrc.c
@@ -253,6 +253,7 @@ gst_audio_test_src_init (GstAudioTestSrc * src, GstAudioTestSrcClass * g_class)
src->timestamp_offset = DEFAULT_TIMESTAMP_OFFSET;
src->wave = DEFAULT_WAVE;
+ gst_base_src_set_blocksize (GST_BASE_SRC (src), -1);
}
static void