Skip to content

Commit 0d5641b

Browse files
committed
fix(translate): use translated text when ASR with audio
1 parent eecc25d commit 0d5641b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

FlyleafLib/MediaPlayer/Player.Screamers.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -955,9 +955,9 @@ private void ScreamerAudioOnly()
955955
SubtitlesManager[i].SetCurrentTime(new TimeSpan(curTime));
956956

957957
var cur = SubtitlesManager[i].GetCurrent();
958-
if (cur != null && !string.IsNullOrEmpty(cur.Text))
958+
if (cur != null && !string.IsNullOrEmpty(cur.DisplayText))
959959
{
960-
SubtitleDisplay(cur.Text, i);
960+
SubtitleDisplay(cur.DisplayText, i);
961961
}
962962
else
963963
{

0 commit comments

Comments
 (0)