From 8611645af66a66326fd081adf209d025e1050a6f Mon Sep 17 00:00:00 2001 From: Luis de Bethencourt Date: Sat, 15 Aug 2015 11:41:40 +0100 Subject: rtph265pay: Use GST_WARNING_OBJECT() instead of GST_WARNING() https://bugzilla.gnome.org/show_bug.cgi?id=753228 --- gst/rtp/gstrtph265pay.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gst/rtp/gstrtph265pay.c b/gst/rtp/gstrtph265pay.c index 1ed17f88f..549deb8d9 100644 --- a/gst/rtp/gstrtph265pay.c +++ b/gst/rtp/gstrtph265pay.c @@ -874,7 +874,7 @@ gst_rtp_h265_pay_send_vps_sps_pps (GstRTPBasePayload * basepayload, /* Not critical here; but throw a warning */ if (ret != GST_FLOW_OK) { sent_all_vps_sps_pps = FALSE; - GST_WARNING ("Problem pushing VPS"); + GST_WARNING_OBJECT (basepayload, "Problem pushing VPS"); } } for (i = 0; i < rtph265pay->sps->len; i++) { @@ -888,7 +888,7 @@ gst_rtp_h265_pay_send_vps_sps_pps (GstRTPBasePayload * basepayload, /* Not critical here; but throw a warning */ if (ret != GST_FLOW_OK) { sent_all_vps_sps_pps = FALSE; - GST_WARNING ("Problem pushing SPS"); + GST_WARNING_OBJECT (basepayload, "Problem pushing SPS"); } } for (i = 0; i < rtph265pay->pps->len; i++) { -- cgit v1.2.1