Skip to content

Commit

Permalink
Update add-hevc-ffmpeg-decoder-parser.js
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex313031 authored Nov 23, 2024
1 parent 453bdf7 commit 9a3f394
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion add-hevc-ffmpeg-decoder-parser.js
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ function enableHevcConfig(filename) {
.replace('define CONFIG_BSWAPDSP 0', 'define CONFIG_BSWAPDSP 1')
.replace('define CONFIG_DOVI_RPU 0', 'define CONFIG_DOVI_RPU 1')
.replace("--enable-decoder='aac,h264'", "--enable-decoder='aac,h264,hevc'")
.replace("--enable-parser='aac,h264'", "--enable-decoder='aac,h264,hevc'");
.replace("--enable-parser='aac,h264'", "--enable-parser='aac,h264,hevc'");
fs.writeFileSync(filename, content, encodingConfig);
}

Expand Down

0 comments on commit 9a3f394

Please sign in to comment.