From 5b2ddfb90cadf5d634be1c1b4759a703f5f9e6dd Mon Sep 17 00:00:00 2001 From: Luis de Bethencourt Date: Sat, 15 Aug 2015 11:41:40 +0100 Subject: [PATCH] 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 1ed17f88f2..549deb8d97 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++) {