diff options
Diffstat (limited to 'demux/demux.h')
-rw-r--r-- | demux/demux.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/demux/demux.h b/demux/demux.h index c7d1b8ee1d..9978335cfd 100644 --- a/demux/demux.h +++ b/demux/demux.h @@ -43,6 +43,7 @@ enum demux_ctrl { DEMUXER_CTRL_STREAM_CTRL, DEMUXER_CTRL_GET_READER_STATE, DEMUXER_CTRL_GET_BITRATE_STATS, // double[STREAM_TYPE_COUNT] + DEMUXER_CTRL_REPLACE_STREAM, }; struct demux_ctrl_reader_state { @@ -220,6 +221,7 @@ typedef struct demuxer { // thread-safe, only the demuxer is allowed to access the stream directly. // You can freely use demux_stream_control() to send STREAM_CTRLs, or use // demux_pause() to get exclusive access to the stream. + // Also note that the stream can get replaced if fully_read is set. struct stream *stream; } demuxer_t; |