mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-02 13:38:48 +00:00
I bet you didn't try if the fix worked, BBB ;)
Original commit message from CVS: I bet you didn't try if the fix worked, BBB ;) Fixed it the right way now.
This commit is contained in:
parent
be5bc7e051
commit
51b189fe1e
1 changed files with 2 additions and 2 deletions
|
@ -212,8 +212,8 @@ gst_alawenc_chain (GstPad *pad,GstBuffer *buf)
|
||||||
alaw_data = (guint8*)GST_BUFFER_DATA(outbuf);
|
alaw_data = (guint8*)GST_BUFFER_DATA(outbuf);
|
||||||
for (i = 0; i < GST_BUFFER_SIZE(outbuf); i++) {
|
for (i = 0; i < GST_BUFFER_SIZE(outbuf); i++) {
|
||||||
*alaw_data = s16_to_alaw (*linear_data);
|
*alaw_data = s16_to_alaw (*linear_data);
|
||||||
*alaw_data += 1;
|
alaw_data++;
|
||||||
*linear_data += 1;
|
linear_data++;
|
||||||
}
|
}
|
||||||
gst_buffer_unref(buf);
|
gst_buffer_unref(buf);
|
||||||
gst_pad_push(alawenc->srcpad,outbuf);
|
gst_pad_push(alawenc->srcpad,outbuf);
|
||||||
|
|
Loading…
Reference in a new issue