mirror of
https://github.com/mpv-player/mpv
synced 2025-03-10 16:24:20 +00:00
stream: kill STREAM_CTRL_RESET
Was unused.
This commit is contained in:
parent
3d6b4ea4b6
commit
f55f99ce19
@ -603,9 +603,6 @@ void stream_reset(stream_t *s)
|
||||
s->buf_pos = s->buf_len = 0;
|
||||
s->eof = 0;
|
||||
}
|
||||
if (s->control)
|
||||
s->control(s, STREAM_CTRL_RESET, NULL);
|
||||
//stream_seek(s,0);
|
||||
}
|
||||
|
||||
int stream_control(stream_t *s, int cmd, void *arg)
|
||||
|
@ -81,7 +81,6 @@
|
||||
|
||||
#define MAX_STREAM_PROTOCOLS 20
|
||||
|
||||
#define STREAM_CTRL_RESET 0
|
||||
#define STREAM_CTRL_GET_TIME_LENGTH 1
|
||||
#define STREAM_CTRL_SEEK_TO_CHAPTER 2
|
||||
#define STREAM_CTRL_GET_CURRENT_CHAPTER 3
|
||||
|
Loading…
Reference in New Issue
Block a user