From 978903cd874284624e80535855172c550a364a32 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Sebastian=20Dr=C3=B6ge?= Date: Tue, 30 Jun 2015 18:11:33 +0200 Subject: [PATCH] rtph264pay: Use GST_WARNING_OBJECT() instead of GST_WARNING() --- gst/rtp/gstrtph264pay.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gst/rtp/gstrtph264pay.c b/gst/rtp/gstrtph264pay.c index 665814a..3c565ae 100644 --- a/gst/rtp/gstrtph264pay.c +++ b/gst/rtp/gstrtph264pay.c @@ -736,7 +736,7 @@ gst_rtp_h264_pay_send_sps_pps (GstRTPBasePayload * basepayload, /* Not critical here; but throw a warning */ if (ret != GST_FLOW_OK) { sent_all_sps_pps = FALSE; - GST_WARNING ("Problem pushing SPS"); + GST_WARNING_OBJECT (basepayload, "Problem pushing SPS"); } } for (i = 0; i < rtph264pay->pps->len; i++) { @@ -750,7 +750,7 @@ gst_rtp_h264_pay_send_sps_pps (GstRTPBasePayload * basepayload, /* Not critical here; but throw a warning */ if (ret != GST_FLOW_OK) { sent_all_sps_pps = FALSE; - GST_WARNING ("Problem pushing PPS"); + GST_WARNING_OBJECT (basepayload, "Problem pushing PPS"); } } -- 2.7.4