Skip to content

Commit c306bb5

Browse files
authored
Fix export video (betaflight#777)
1 parent 380601b commit c306bb5

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/main.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1729,6 +1729,12 @@ function BlackboxLogViewer() {
17291729
$(".btn-video-export").click(function (e) {
17301730
setGraphState(GRAPH_STATE_PAUSED);
17311731

1732+
const exportDialog = new VideoExportDialog($("#dlgVideoExport"), function(newConfig) {
1733+
videoConfig = newConfig;
1734+
1735+
prefs.set('videoConfig', newConfig);
1736+
});
1737+
17321738
exportDialog.show(
17331739
flightLog,
17341740
{

0 commit comments

Comments
 (0)