From: Sebastian Dröge Date: Wed, 8 Aug 2012 15:40:34 +0000 (+0200) Subject: gst: Set alignment at the correct place of GstAllocationParams X-Git-Tag: 1.19.3~509^2~6027^2~14 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=6586e4238413334d618845ac55e7f0970d547e49;p=platform%2Fupstream%2Fgstreamer.git gst: Set alignment at the correct place of GstAllocationParams --- diff --git a/gst/dtmf/gstdtmfsrc.c b/gst/dtmf/gstdtmfsrc.c index 811cc03..2b3310e 100644 --- a/gst/dtmf/gstdtmfsrc.c +++ b/gst/dtmf/gstdtmfsrc.c @@ -562,7 +562,7 @@ gst_dtmf_src_generate_tone (GstDTMFSrcEvent * event, DTMF_KEY key, double i = 0; double amplitude, f1, f2; double volume_factor; - static GstAllocationParams params = { 0, 0, 0, 1, }; + static GstAllocationParams params = { 0, 1, 0, 0, }; /* Create a buffer for the tone */ tone_size = ((duration / 1000) * sample_rate * SAMPLE_SIZE * CHANNELS) / 8; diff --git a/gst/dtmf/gstrtpdtmfdepay.c b/gst/dtmf/gstrtpdtmfdepay.c index 1bea465..6349485 100644 --- a/gst/dtmf/gstrtpdtmfdepay.c +++ b/gst/dtmf/gstrtpdtmfdepay.c @@ -342,7 +342,7 @@ gst_dtmf_src_generate_tone (GstRtpDTMFDepay * rtpdtmfdepay, guint32 clock_rate = 8000 /* default */ ; GstRTPBaseDepayload *depayload = GST_RTP_BASE_DEPAYLOAD (rtpdtmfdepay); gint volume; - static GstAllocationParams params = { 0, 0, 0, 1, }; + static GstAllocationParams params = { 0, 1, 0, 0, }; clock_rate = depayload->clock_rate;