diff options
Diffstat (limited to 'common/playlist.h')
-rw-r--r-- | common/playlist.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/common/playlist.h b/common/playlist.h index 916d21bf45..6c609733da 100644 --- a/common/playlist.h +++ b/common/playlist.h @@ -41,9 +41,12 @@ struct playlist_entry { bool playback_short : 1; // Set to true if not at least 1 frame (audio or video) could be played. bool init_failed : 1; - // If set, assume that this is e.g. from an external playlist, and needs an - // additional safety check. - bool unsafe_origin : 1; + // Used to reject loading of unsafe entries from external playlists. + // Can have any of the following bit flags set: + // STREAM_SAFE_ONLY: only allow streams marked with is_safe + // STREAM_NETWORK_ONLY: only allow streams marked with is_network + // The value 0 allows everything. + int stream_flags; }; struct playlist { |