File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -1347,7 +1347,7 @@ export class PlaybackManager {
13471347 } ;
13481348
13491349 self . getFps = function ( player ) {
1350- return self . currentMediaSource ( player ) . MediaStreams . find ( s => s . Type === 'Video' ) ?. RealFrameRate ;
1350+ return self . currentMediaSource ( player ) . MediaStreams . find ( s => s . Type === 'Video' ) ?. ReferenceFrameRate ;
13511351 } ;
13521352
13531353 function getSavedMaxStreamingBitrate ( apiClient , mediaType ) {
@@ -3891,14 +3891,14 @@ export class PlaybackManager {
38913891
38923892 nextFrame ( player = this . _currentPlayer ) {
38933893 const fps = this . getFps ( player ) ;
3894- if ( fps != null ) {
3894+ if ( fps ) {
38953895 this . seekRelative ( TICKS_PER_SECOND / fps , player ) ;
38963896 }
38973897 }
38983898
38993899 previousFrame ( player = this . _currentPlayer ) {
39003900 const fps = this . getFps ( player ) ;
3901- if ( fps != null ) {
3901+ if ( fps ) {
39023902 this . seekRelative ( - TICKS_PER_SECOND / fps , player ) ;
39033903 }
39043904 }
You can’t perform that action at this time.
0 commit comments