diff --git a/gst/rtpmanager/rtpjitterbuffer.h b/gst/rtpmanager/rtpjitterbuffer.h index 1f7cbf44b8..845c13664d 100644 --- a/gst/rtpmanager/rtpjitterbuffer.h +++ b/gst/rtpmanager/rtpjitterbuffer.h @@ -57,7 +57,8 @@ typedef enum { RTP_JITTER_BUFFER_MODE_NONE = 0, RTP_JITTER_BUFFER_MODE_SLAVE = 1, RTP_JITTER_BUFFER_MODE_BUFFER = 2, - RTP_JITTER_BUFFER_MODE_SYNCED = 3, + /* FIXME 3 is missing because it was used for 'auto' in jitterbuffer */ + RTP_JITTER_BUFFER_MODE_SYNCED = 4, RTP_JITTER_BUFFER_MODE_LAST } RTPJitterBufferMode; diff --git a/gst/rtsp/gstrtspsrc.c b/gst/rtsp/gstrtspsrc.c index 7716274230..d904f9dfcf 100644 --- a/gst/rtsp/gstrtspsrc.c +++ b/gst/rtsp/gstrtspsrc.c @@ -138,7 +138,8 @@ enum _GstRtspSrcBufferMode BUFFER_MODE_NONE, BUFFER_MODE_SLAVE, BUFFER_MODE_BUFFER, - BUFFER_MODE_AUTO + BUFFER_MODE_AUTO, + BUFFER_MODE_SYNCED }; #define GST_TYPE_RTSP_SRC_BUFFER_MODE (gst_rtsp_src_buffer_mode_get_type()) @@ -151,6 +152,7 @@ gst_rtsp_src_buffer_mode_get_type (void) {BUFFER_MODE_SLAVE, "Slave receiver to sender clock", "slave"}, {BUFFER_MODE_BUFFER, "Do low/high watermark buffering", "buffer"}, {BUFFER_MODE_AUTO, "Choose mode depending on stream live", "auto"}, + {BUFFER_MODE_SYNCED, "Synchronized sender and receiver clocks", "synced"}, {0, NULL, NULL}, };