summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Kost <ensonic@users.sf.net>2010-04-08 18:05:46 +0300
committerStefan Kost <ensonic@users.sf.net>2010-04-08 18:05:46 +0300
commitd6e9af2a1177ac450258ce90a85450424e8a8bb4 (patch)
treeb84ed51fdadc51f73b1cb2dfa773aeef0ea1601b
parent0e048803b9f99172d84decb77d7d57021165c47e (diff)
docs: do proper escaping for "%"
-rw-r--r--gst/multifile/gstmultifilesink.c2
-rw-r--r--gst/multifile/gstmultifilesrc.c2
-rw-r--r--gst/rtpmanager/gstrtpbin.c16
3 files changed, 10 insertions, 10 deletions
diff --git a/gst/multifile/gstmultifilesink.c b/gst/multifile/gstmultifilesink.c
index 5ec794888..8f768759a 100644
--- a/gst/multifile/gstmultifilesink.c
+++ b/gst/multifile/gstmultifilesink.c
@@ -27,7 +27,7 @@
*
* Write incoming data to a series of sequentially-named files.
*
- * The filename property should contain a string with a %d placeholder that will
+ * The filename property should contain a string with a \%d placeholder that will
* be substituted with the index for each filename.
*
* If the #GstMultiFileSink:post-messages property is #TRUE, it sends an application
diff --git a/gst/multifile/gstmultifilesrc.c b/gst/multifile/gstmultifilesrc.c
index 60f503f1f..67b871b71 100644
--- a/gst/multifile/gstmultifilesrc.c
+++ b/gst/multifile/gstmultifilesrc.c
@@ -27,7 +27,7 @@
* to force to caps containing a framerate. Otherwise image decoders send EOS
* after the first picture.
*
- * File names are created by replacing "%%d" with the index using printf().
+ * File names are created by replacing "\%d" with the index using printf().
*
* <refsect2>
* <title>Example launch line</title>
diff --git a/gst/rtpmanager/gstrtpbin.c b/gst/rtpmanager/gstrtpbin.c
index 66590f94a..f4af07533 100644
--- a/gst/rtpmanager/gstrtpbin.c
+++ b/gst/rtpmanager/gstrtpbin.c
@@ -28,30 +28,30 @@
* #GstRtpBin is configured with a number of request pads that define the
* functionality that is activated, similar to the #GstRtpSession element.
*
- * To use #GstRtpBin as an RTP receiver, request a recv_rtp_sink_%%d pad. The session
+ * To use #GstRtpBin as an RTP receiver, request a recv_rtp_sink_\%d pad. The session
* number must be specified in the pad name.
- * Data received on the recv_rtp_sink_%%d pad will be processed in the #GstRtpSession
+ * Data received on the recv_rtp_sink_\%d pad will be processed in the #GstRtpSession
* manager and after being validated forwarded on #GstRtpSsrcDemux element. Each
* RTP stream is demuxed based on the SSRC and send to a #GstRtpJitterBuffer. After
* the packets are released from the jitterbuffer, they will be forwarded to a
* #GstRtpSsrcDemux element. The #GstRtpSsrcDemux element will demux the packets based
- * on the payload type and will create a unique pad recv_rtp_src_%%d_%%d_%%d on
+ * on the payload type and will create a unique pad recv_rtp_src_\%d_\%d_\%d on
* gstrtpbin with the session number, SSRC and payload type respectively as the pad
* name.
*
- * To also use #GstRtpBin as an RTCP receiver, request a recv_rtcp_sink_%%d pad. The
+ * To also use #GstRtpBin as an RTCP receiver, request a recv_rtcp_sink_\%d pad. The
* session number must be specified in the pad name.
*
* If you want the session manager to generate and send RTCP packets, request
- * the send_rtcp_src_%%d pad with the session number in the pad name. Packet pushed
+ * the send_rtcp_src_\%d pad with the session number in the pad name. Packet pushed
* on this pad contain SR/RR RTCP reports that should be sent to all participants
* in the session.
*
- * To use #GstRtpBin as a sender, request a send_rtp_sink_%%d pad, which will
- * automatically create a send_rtp_src_%%d pad. If the session number is not provided,
+ * To use #GstRtpBin as a sender, request a send_rtp_sink_\%d pad, which will
+ * automatically create a send_rtp_src_\%d pad. If the session number is not provided,
* the pad from the lowest available session will be returned. The session manager will modify the
* SSRC in the RTP packets to its own SSRC and wil forward the packets on the
- * send_rtp_src_%%d pad after updating its internal state.
+ * send_rtp_src_\%d pad after updating its internal state.
*
* The session manager needs the clock-rate of the payload types it is handling
* and will signal the #GstRtpSession::request-pt-map signal when it needs such a