From 39940da795f45a3518b1a279dabb1d16712353c7 Mon Sep 17 00:00:00 2001 From: "Ronald S. Bultje" Date: Sat, 6 Nov 2004 22:00:41 +0000 Subject: gst/rtp/gstrtpgsmparse.c: Add missing NULL terminator (#157543). Original commit message from CVS: Reviewed by: Ronald S. Bultje * gst/rtp/gstrtpgsmparse.c: (gst_rtpgsm_caps_nego): Add missing NULL terminator (#157543). --- gst/rtp/gstrtpgsmdepay.c | 2 +- gst/rtp/gstrtpgsmparse.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'gst/rtp') diff --git a/gst/rtp/gstrtpgsmdepay.c b/gst/rtp/gstrtpgsmdepay.c index e6ea8406..19b35ebb 100644 --- a/gst/rtp/gstrtpgsmdepay.c +++ b/gst/rtp/gstrtpgsmdepay.c @@ -165,7 +165,7 @@ gst_rtpgsm_caps_nego (GstRtpGSMParse * rtpgsmparse) GstCaps *caps; caps = gst_caps_new_simple ("audio/x-gsm", - "rate", G_TYPE_INT, rtpgsmparse->frequency); + "rate", G_TYPE_INT, rtpgsmparse->frequency, NULL); gst_pad_try_set_caps (rtpgsmparse->srcpad, caps); } diff --git a/gst/rtp/gstrtpgsmparse.c b/gst/rtp/gstrtpgsmparse.c index e6ea8406..19b35ebb 100644 --- a/gst/rtp/gstrtpgsmparse.c +++ b/gst/rtp/gstrtpgsmparse.c @@ -165,7 +165,7 @@ gst_rtpgsm_caps_nego (GstRtpGSMParse * rtpgsmparse) GstCaps *caps; caps = gst_caps_new_simple ("audio/x-gsm", - "rate", G_TYPE_INT, rtpgsmparse->frequency); + "rate", G_TYPE_INT, rtpgsmparse->frequency, NULL); gst_pad_try_set_caps (rtpgsmparse->srcpad, caps); } -- cgit