mirror of
https://github.com/mpv-player/mpv
synced 2024-12-21 22:30:22 +00:00
stream_info_t opts and protocols point to constant data as well.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25718 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
83773af50f
commit
62b89eb60a
@ -79,8 +79,8 @@ typedef struct stream_info_st {
|
||||
/// opts is at least in it's defaults settings and may have been
|
||||
/// altered by url parsing if enabled and the options string parsing.
|
||||
int (*open)(struct stream_st* st, int mode, void* opts, int* file_format);
|
||||
char* protocols[MAX_STREAM_PROTOCOLS];
|
||||
void* opts;
|
||||
const char* protocols[MAX_STREAM_PROTOCOLS];
|
||||
const void* opts;
|
||||
int opts_url; /* If this is 1 we will parse the url as an option string
|
||||
* too. Otherwise options are only parsed from the
|
||||
* options string given to open_stream_plugin */
|
||||
|
Loading…
Reference in New Issue
Block a user