demux_subreader: report what subtitle format has been found

This commit is contained in:
wm4 2013-08-12 20:39:43 +02:00
parent 1ef239a499
commit b644fe3da6
1 changed files with 2 additions and 0 deletions

View File

@ -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;