vlc | branch: master | Rémi Denis-Courmont <[email protected]> | Mon Feb 26 21:48:49 2018 +0200| [ace2fdf4b22fe418633af57295e416b7bface0a5] | committer: Rémi Denis-Courmont
stream: add p_next field (refs #18504) > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=ace2fdf4b22fe418633af57295e416b7bface0a5 --- include/vlc_stream.h | 20 ++++++++++++++++++-- 1 file changed, 18 insertions(+), 2 deletions(-) diff --git a/include/vlc_stream.h b/include/vlc_stream.h index ebfe692d17..6c71ebb546 100644 --- a/include/vlc_stream.h +++ b/include/vlc_stream.h @@ -56,8 +56,24 @@ struct stream_t char *psz_filepath; /**< Local file path (if applicable) */ bool b_preparsing; /**< True if this access is used to preparse */ - /* Stream source for stream filter */ - stream_t *s; + union { + /** + * Input stream + * + * Depending on the module capability: + * - "stream filter" or "demux": input byte stream (not NULL) + * - "access" or "access_demux": a NULL pointer + * - "demux_filter": undefined + */ + stream_t *s; + /** + * Input demuxer + * + * If the module capability is "demux_filter", this is the upstream + * demuxer or demux filter. Otherwise, this is undefined. + */ + demux_t *p_next; + }; /** * Read data. _______________________________________________ vlc-commits mailing list [email protected] https://mailman.videolan.org/listinfo/vlc-commits
