From 5ad1ebcf4c24fc2d2d3b241aebf46d87575a3445 Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Thu, 16 Oct 2008 13:50:00 +0000 Subject: [PATCH] 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. --- ChangeLog | 6 ++++++ gst/audiotestsrc/gstaudiotestsrc.c | 1 + 2 files changed, 7 insertions(+) diff --git a/ChangeLog b/ChangeLog index dda3d04e26..ad48e1216f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2008-10-16 Wim Taymans + + * 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. + 2008-10-15 Edward Hervey * gst-libs/gst/riff/riff-media.c: (gst_riff_create_video_caps), diff --git a/gst/audiotestsrc/gstaudiotestsrc.c b/gst/audiotestsrc/gstaudiotestsrc.c index f6f5a121a8..6ac05078fc 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