1
0
mirror of https://github.com/mpv-player/mpv synced 2025-02-27 10:50:53 +00:00

mp_core: fix a comment

track.demuxer is never NULL (anymore).
This commit is contained in:
wm4 2013-09-07 20:21:11 +02:00
parent c4b935adf7
commit 082ea0de12

View File

@ -107,10 +107,9 @@ struct track {
// If the track's stream changes with the timeline (ordered chapters).
bool under_timeline;
// NULL if not backed by a demuxer (e.g. external subtitles).
// Value can change if under_timeline==true.
struct demuxer *demuxer;
// Invariant: (!demuxer && !stream) || stream->demuxer == demuxer
// Invariant: !stream || stream->demuxer == demuxer
struct sh_stream *stream;
// For external subtitles, which are read fully on init. Do not attempt