rtspsrc: proxy new buffer mode

This commit is contained in:
Wim Taymans 2013-10-31 10:38:35 +01:00
parent 43645d5981
commit e96f8f519c
2 changed files with 5 additions and 2 deletions

View file

@ -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;

View file

@ -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},
};