mirror of https://github.com/mpv-player/mpv
demux_subreader: report what subtitle format has been found
This commit is contained in:
parent
1ef239a499
commit
b644fe3da6
|
@ -1341,6 +1341,8 @@ static int d_open_file(struct demuxer *demuxer, enum demux_check check)
|
|||
if (!res)
|
||||
return -1;
|
||||
|
||||
demuxer->filetype = sr.name;
|
||||
|
||||
sub_data *sd = sub_read_file(demuxer->stream, &sr);
|
||||
if (!sd)
|
||||
return -1;
|
||||
|
|
Loading…
Reference in New Issue