diff --git a/CHANGELOG.md b/CHANGELOG.md index 7d333cc..3f79043 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,10 @@ All notable changes to this package will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). +## [2.5.7] - 2021-09-26 +### Fixed +- Fixed a synchronization error between the MovideRecorder's video container and codec. + ## [2.5.5] - 2021-02-26 ### Fixed - Fixed an error that occurred when setting the build target to macOS standalone from the Editor in Windows. diff --git a/Editor/Sources/Recorders/MovieRecorder/MovieRecorderSettings.cs b/Editor/Sources/Recorders/MovieRecorder/MovieRecorderSettings.cs index 955cb6b..ebbe79e 100644 --- a/Editor/Sources/Recorders/MovieRecorder/MovieRecorderSettings.cs +++ b/Editor/Sources/Recorders/MovieRecorder/MovieRecorderSettings.cs @@ -255,6 +255,9 @@ private void RegisterAllEncoders() encodersRegistered.Add(mr); } } + // Enforce the alphabetical order of encoders so that CoreMediaEncoder is first and ProRes second, so that + // their formats are processed in that order by the MovieRecorderEditor class + encodersRegistered = encodersRegistered.OrderBy(a => a.GetName()).ToList(); } /// diff --git a/package.json b/package.json index 4d4a0c4..913ab5c 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "com.unity.recorder", "displayName": "Unity Recorder", - "version": "2.5.5", + "version": "2.5.7", "unity": "2019.4", "unityRelease": "1f1", "dependencies": { @@ -19,15 +19,15 @@ "images" ], "relatedPackages": { - "com.unity.recorder.tests": "2.5.5" + "com.unity.recorder.tests": "2.5.7" }, "upmCi": { - "footprint": "c8d730ac1752cdd035c9b9fc9faed9bfe169193b" + "footprint": "dc9cd88ded3dada1ccc6c833f002057699df0511" }, "repository": { "url": "https://github.cds.internal.unity3d.com/unity/com.unity.recorder.git", "type": "git", - "revision": "f3dc97fa977473ea7eb4f8445879c2eb9ae8e553" + "revision": "a59deb20019b176e95dd8efa2f9b41b8e4a0bb96" }, "samples": [ {