summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim-Philipp Müller <tim@centricular.com>2015-04-05 20:06:09 +0100
committerTim-Philipp Müller <tim@centricular.com>2015-04-05 20:07:19 +0100
commit2fde2011b281ef5b0aededd605bf354ba707223a (patch)
tree7c03e10cfda88a1d3797611861d2d95513af36f8
parentd72fd97957ce0e2884e803199d64fbd3ca31fb8b (diff)
docs: make GstRTCPSync enum show up in rtpbin docsHEADmaster
https://bugzilla.gnome.org/show_bug.cgi?id=747358
-rw-r--r--docs/plugins/gst-plugins-good-plugins-sections.txt1
-rw-r--r--gst/rtpmanager/gstrtpbin.c7
-rw-r--r--gst/rtpmanager/gstrtpbin.h7
3 files changed, 8 insertions, 7 deletions
diff --git a/docs/plugins/gst-plugins-good-plugins-sections.txt b/docs/plugins/gst-plugins-good-plugins-sections.txt
index 40c1d9b68..7a9dcc82f 100644
--- a/docs/plugins/gst-plugins-good-plugins-sections.txt
+++ b/docs/plugins/gst-plugins-good-plugins-sections.txt
@@ -905,6 +905,7 @@ GST_IS_GOOM_CLASS
<TITLE>rtpbin</TITLE>
GstRtpBin
RTPJitterBufferMode
+GstRTCPSync
<SUBSECTION Standard>
GstRtpBinPrivate
GstRtpBinClass
diff --git a/gst/rtpmanager/gstrtpbin.c b/gst/rtpmanager/gstrtpbin.c
index 6ba8f7aca..c0d15e3f5 100644
--- a/gst/rtpmanager/gstrtpbin.c
+++ b/gst/rtpmanager/gstrtpbin.c
@@ -308,13 +308,6 @@ enum
PROP_LAST
};
-enum
-{
- GST_RTP_BIN_RTCP_SYNC_ALWAYS,
- GST_RTP_BIN_RTCP_SYNC_INITIAL,
- GST_RTP_BIN_RTCP_SYNC_RTP
-};
-
#define GST_RTP_BIN_RTCP_SYNC_TYPE (gst_rtp_bin_rtcp_sync_get_type())
static GType
gst_rtp_bin_rtcp_sync_get_type (void)
diff --git a/gst/rtpmanager/gstrtpbin.h b/gst/rtpmanager/gstrtpbin.h
index 43665351c..fcad2a574 100644
--- a/gst/rtpmanager/gstrtpbin.h
+++ b/gst/rtpmanager/gstrtpbin.h
@@ -36,6 +36,13 @@
#define GST_IS_RTP_BIN_CLASS(klass) \
(G_TYPE_CHECK_CLASS_TYPE((klass),GST_TYPE_RTP_BIN))
+typedef enum
+{
+ GST_RTP_BIN_RTCP_SYNC_ALWAYS,
+ GST_RTP_BIN_RTCP_SYNC_INITIAL,
+ GST_RTP_BIN_RTCP_SYNC_RTP
+} GstRTCPSync;
+
typedef struct _GstRtpBin GstRtpBin;
typedef struct _GstRtpBinClass GstRtpBinClass;
typedef struct _GstRtpBinPrivate GstRtpBinPrivate;