mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 09:10:36 +00:00
dtmfdetect: use glib types
This commit is contained in:
parent
de4a6adf80
commit
88b223d36b
1 changed files with 3 additions and 3 deletions
|
@ -170,9 +170,9 @@ static GstFlowReturn
|
||||||
gst_dtmf_detect_transform_ip (GstBaseTransform * trans, GstBuffer * buf)
|
gst_dtmf_detect_transform_ip (GstBaseTransform * trans, GstBuffer * buf)
|
||||||
{
|
{
|
||||||
GstDtmfDetect *self = GST_DTMF_DETECT (trans);
|
GstDtmfDetect *self = GST_DTMF_DETECT (trans);
|
||||||
int dtmf_count;
|
gint dtmf_count;
|
||||||
char dtmfbuf[MAX_DTMF_DIGITS] = "";
|
gchar dtmfbuf[MAX_DTMF_DIGITS] = "";
|
||||||
int i;
|
gint i;
|
||||||
|
|
||||||
if (GST_BUFFER_IS_DISCONT (buf))
|
if (GST_BUFFER_IS_DISCONT (buf))
|
||||||
zap_dtmf_detect_init (&self->dtmf_state);
|
zap_dtmf_detect_init (&self->dtmf_state);
|
||||||
|
|
Loading…
Reference in a new issue