Skip to content

Commit 36aa4dc

Browse files
authored
Use reference framerate as sampling rate (target FPS) for SubtitlesOctopus
1 parent 2f6781a commit 36aa4dc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/plugins/htmlVideoPlayer/plugin.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1305,7 +1305,7 @@ export class HtmlVideoPlayer {
13051305
dropAllAnimations: false,
13061306
libassMemoryLimit: 40,
13071307
libassGlyphLimit: 40,
1308-
targetFps: videoStream?.AverageFrameRate || videoStream?.RealFrameRate || 24,
1308+
targetFps: videoStream?.ReferenceFrameRate || videoStream?.RealFrameRate || 24,
13091309
prescaleFactor: 0.8,
13101310
prescaleHeightLimit: 1080,
13111311
maxRenderHeight: 2160,

0 commit comments

Comments
 (0)