stream/demux: move remaining callbacks to their respective ops struct
This commit moves the remaining callbacks of stream/demux: pf_read/ pf_block/pf_seek/pf_readdir and pf_demux into their operations table, aiming at unifying all the callbacks under a unique place. This is a follow-up to the introduction of typed controls callbacks for stream and demux. Like for the typed controls callbacks if no operation is provided (ie, stream_t/demux_t.ops is NULL) by a module, the legacy pf_* will be used instead as a fallback. The commit doesn't migrate any of modules yet.
Showing
- include/vlc_stream.h 20 additions, 0 deletionsinclude/vlc_stream.h
- src/input/access.c 4 additions, 1 deletionsrc/input/access.c
- src/input/demux.c 10 additions, 4 deletionssrc/input/demux.c
- src/input/input.c 11 additions, 5 deletionssrc/input/input.c
- src/input/stream.c 19 additions, 13 deletionssrc/input/stream.c
- src/input/stream_filter.c 3 additions, 1 deletionsrc/input/stream_filter.c
Loading
Please register or sign in to comment