summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuido Cella <guido@guidocella.xyz>2024-02-09 09:01:29 +0100
committerDudemanguy <random342@airmail.cc>2024-02-11 04:01:04 +0000
commita039cfce00fb070ce006ee18f0587c4795958378 (patch)
tree76232f72f59a20253e0da547f6f716670b102151
parentf5c4f0b0f426d1ad03971dc8ff79167eab3987fc (diff)
downloadmpv-a039cfce00fb070ce006ee18f0587c4795958378.tar.bz2
mpv-a039cfce00fb070ce006ee18f0587c4795958378.tar.xz
demux: clarify the meaning of still_image
Clarify that ffmpeg sets AV_DISPOSITION_STILL_IMAGE for sparse videos like https://s3.amazonaws.com/tmm1/music-choice.ts, not for images.
-rw-r--r--demux/demux.c2
-rw-r--r--demux/stheader.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/demux/demux.c b/demux/demux.c
index 256e1b6e54..386b088148 100644
--- a/demux/demux.c
+++ b/demux/demux.c
@@ -367,7 +367,7 @@ struct demux_stream {
bool eager; // try to keep at least 1 packet queued
// if false, this stream is disabled, or passively
// read (like subtitles)
- bool still_image; // stream has still video images
+ bool still_image; // stream consists of multiple sparse still images
bool refreshing; // finding old position after track switches
bool eof; // end of demuxed stream? (true if no more packets)
diff --git a/demux/stheader.h b/demux/stheader.h
index 597c978439..cb6cc3e579 100644
--- a/demux/stheader.h
+++ b/demux/stheader.h
@@ -49,7 +49,7 @@ struct sh_stream {
bool visual_impaired_track; // container flag
bool hearing_impaired_track;// container flag
bool image; // video stream is an image
- bool still_image; // video stream contains still images
+ bool still_image; // video consists of multiple sparse still images
int hls_bitrate;
int program_id;