diff options
author | Guido Cella <guido@guidocella.xyz> | 2024-01-14 15:25:56 +0100 |
---|---|---|
committer | Dudemanguy <random342@airmail.cc> | 2024-01-20 17:26:45 +0000 |
commit | 5871ba8f3e7e728d2efcbfdbe1d67059f8feca4d (patch) | |
tree | 24295cdfbbee943d2b356c567feeb8c5422ba6bf /DOCS/man | |
parent | 02c6165d2b3e8448f13a34a845113d94669b0050 (diff) | |
download | mpv-5871ba8f3e7e728d2efcbfdbe1d67059f8feca4d.tar.bz2 mpv-5871ba8f3e7e728d2efcbfdbe1d67059f8feca4d.tar.xz |
command: restore lang after track reload
If a track's language was guessed from its filename, the commands that
reload the track, like sub-reload, remove it. Fix this by calling
guess_lang_from_filename() again.
Note that backing up t->lang and restoring it if nt->lang is NULL would
work incorrectly when lang is in the stream and it is removed before
reloading.
Diffstat (limited to 'DOCS/man')
0 files changed, 0 insertions, 0 deletions