diff options
author | Dudemanguy <random342@airmail.cc> | 2023-09-30 08:58:56 -0500 |
---|---|---|
committer | Dudemanguy <random342@airmail.cc> | 2023-09-30 09:02:57 -0500 |
commit | 3a572c7a88329666a803bb8eb4de0a5a19e60cf8 (patch) | |
tree | 48b8f9f4d218149a67c12f838a8f0989799e338f /sub/dec_sub.h | |
parent | 84fa7ea411e8e99fced66295c973ecdf94ee07b2 (diff) | |
download | mpv-3a572c7a88329666a803bb8eb4de0a5a19e60cf8.tar.bz2 mpv-3a572c7a88329666a803bb8eb4de0a5a19e60cf8.tar.xz |
Revert "demux: improve stream selection state"
The stream selection state wasn't improved. I didn't realize this messed
with caches. All in all, just not a good idea. Back to drawing board I
guess.
This reverts commit f40bbfec4fcd2d9a787a4d98ec7698a646e5607e.
Diffstat (limited to 'sub/dec_sub.h')
-rw-r--r-- | sub/dec_sub.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sub/dec_sub.h b/sub/dec_sub.h index c2b75f308a..96b8c29807 100644 --- a/sub/dec_sub.h +++ b/sub/dec_sub.h @@ -43,7 +43,7 @@ void sub_destroy(struct dec_sub *sub); bool sub_can_preload(struct dec_sub *sub); void sub_preload(struct dec_sub *sub); -bool sub_read_packets(struct dec_sub *sub, double video_pts); +bool sub_read_packets(struct dec_sub *sub, double video_pts, bool force); struct sub_bitmaps *sub_get_bitmaps(struct dec_sub *sub, struct mp_osd_res dim, int format, double pts); char *sub_get_text(struct dec_sub *sub, double pts, enum sd_text_type type); |