mirror of
https://github.com/webadderallorg/Recordly.git
synced 2026-09-27 16:25:35 +00:00
Merge pull request #278 from meiiie/fix/export-media-paths
fix(export): reopen saved videos and default to source quality
This commit is contained in:
@@ -52,6 +52,10 @@ describe("editorPreferences", () => {
|
||||
).toEqual(DEFAULT_EDITOR_PREFERENCES);
|
||||
});
|
||||
|
||||
it("defaults MP4 exports to source quality", () => {
|
||||
expect(DEFAULT_EDITOR_PREFERENCES.exportQuality).toBe("source");
|
||||
});
|
||||
|
||||
it("loads stored editor control preferences", () => {
|
||||
vi.stubGlobal(
|
||||
"localStorage",
|
||||
|
||||
@@ -838,7 +838,7 @@ export function normalizeProjectEditor(editor: Partial<ProjectEditorState>): Pro
|
||||
editor.exportQuality === "high" ||
|
||||
editor.exportQuality === "source"
|
||||
? editor.exportQuality
|
||||
: "good",
|
||||
: "source",
|
||||
mp4FrameRate: normalizeExportMp4FrameRate(editor.mp4FrameRate),
|
||||
exportFormat: editor.exportFormat === "gif" ? "gif" : "mp4",
|
||||
gifFrameRate:
|
||||
|
||||
Reference in New Issue
Block a user