[Scummvm-git-logs] scummvm branch-2-7 -> 22b30da94e636c64334df233b4b00a2f1f706cde

mduggan noreply at scummvm.org
Thu Feb 23 04:46:54 UTC 2023


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
22b30da94e VIDEO: Fix theora playback rate


Commit: 22b30da94e636c64334df233b4b00a2f1f706cde
    https://github.com/scummvm/scummvm/commit/22b30da94e636c64334df233b4b00a2f1f706cde
Author: Matthew Duggan (mgithub at guarana.org)
Date: 2023-02-23T13:46:02+09:00

Commit Message:
VIDEO: Fix theora playback rate

This reverts PR #4276 - "rate" is a multiplier not a framerate.

Changed paths:
    video/theora_decoder.cpp


diff --git a/video/theora_decoder.cpp b/video/theora_decoder.cpp
index b9b57912d30..c833fce80fe 100644
--- a/video/theora_decoder.cpp
+++ b/video/theora_decoder.cpp
@@ -169,7 +169,6 @@ bool TheoraDecoder::loadStream(Common::SeekableReadStream *stream) {
 	if (_hasVideo) {
 		_videoTrack = new TheoraVideoTrack(getDefaultHighColorFormat(), theoraInfo, theoraSetup);
 		addTrack(_videoTrack);
-		setRate(_videoTrack->getFrameRate());
 	}
 
 	th_info_clear(&theoraInfo);




More information about the Scummvm-git-logs mailing list