rtpdepay: add some more comments
This commit is contained in:
parent
d655120ee6
commit
0a09632396
@ -469,7 +469,7 @@ gst_basertppayload_set_outcaps (GstBaseRTPPayload * payload, gchar * fieldname,
|
|||||||
GstCaps *srccaps, *peercaps;
|
GstCaps *srccaps, *peercaps;
|
||||||
gboolean res;
|
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",
|
srccaps = gst_caps_new_simple ("application/x-rtp",
|
||||||
"media", G_TYPE_STRING, payload->media,
|
"media", G_TYPE_STRING, payload->media,
|
||||||
"clock-rate", G_TYPE_INT, payload->clock_rate,
|
"clock-rate", G_TYPE_INT, payload->clock_rate,
|
||||||
|
@ -118,7 +118,7 @@ struct _GstBaseRTPPayloadClass
|
|||||||
/* receive caps on the sink pad, configure the payloader. */
|
/* receive caps on the sink pad, configure the payloader. */
|
||||||
gboolean (*set_caps) (GstBaseRTPPayload *payload, GstCaps *caps);
|
gboolean (*set_caps) (GstBaseRTPPayload *payload, GstCaps *caps);
|
||||||
/* handle a buffer, perform 0 or more gst_basertppayload_push() on
|
/* 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,
|
GstFlowReturn (*handle_buffer) (GstBaseRTPPayload *payload,
|
||||||
GstBuffer *buffer);
|
GstBuffer *buffer);
|
||||||
gboolean (*handle_event) (GstPad * pad, GstEvent * event);
|
gboolean (*handle_event) (GstPad * pad, GstEvent * event);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user