From 0a0963239684ee2b273e713060cd3d5777658920 Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Mon, 27 Apr 2009 10:15:44 +0200 Subject: [PATCH] rtpdepay: add some more comments --- gst-libs/gst/rtp/gstbasertppayload.c | 2 +- gst-libs/gst/rtp/gstbasertppayload.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/gst-libs/gst/rtp/gstbasertppayload.c b/gst-libs/gst/rtp/gstbasertppayload.c index ab4232d..387c96f 100644 --- a/gst-libs/gst/rtp/gstbasertppayload.c +++ b/gst-libs/gst/rtp/gstbasertppayload.c @@ -469,7 +469,7 @@ gst_basertppayload_set_outcaps (GstBaseRTPPayload * payload, gchar * fieldname, GstCaps *srccaps, *peercaps; gboolean res; - /* fill in the defaults, there properties cannot be negotiated. */ + /* fill in the defaults, their properties cannot be negotiated. */ srccaps = gst_caps_new_simple ("application/x-rtp", "media", G_TYPE_STRING, payload->media, "clock-rate", G_TYPE_INT, payload->clock_rate, diff --git a/gst-libs/gst/rtp/gstbasertppayload.h b/gst-libs/gst/rtp/gstbasertppayload.h index 33dc6c3..4a1d751 100644 --- a/gst-libs/gst/rtp/gstbasertppayload.h +++ b/gst-libs/gst/rtp/gstbasertppayload.h @@ -118,7 +118,7 @@ struct _GstBaseRTPPayloadClass /* receive caps on the sink pad, configure the payloader. */ gboolean (*set_caps) (GstBaseRTPPayload *payload, GstCaps *caps); /* handle a buffer, perform 0 or more gst_basertppayload_push() on - * the RTP buffers */ + * the RTP buffers. This function takes ownership of the buffer. */ GstFlowReturn (*handle_buffer) (GstBaseRTPPayload *payload, GstBuffer *buffer); gboolean (*handle_event) (GstPad * pad, GstEvent * event); -- 2.7.4