mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 17:20:36 +00:00
rtspsrc: proxy new buffer mode
This commit is contained in:
parent
43645d5981
commit
e96f8f519c
2 changed files with 5 additions and 2 deletions
|
@ -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;
|
||||
|
||||
|
|
|
@ -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},
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue