Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
F
ffmpeg.wasm-core
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Linshizhi
ffmpeg.wasm-core
Commits
795329dd
Commit
795329dd
authored
Mar 30, 2016
by
Timo Rothenpieler
Committed by
Anton Khirnov
May 19, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
nvenc: Generate AUD NAL units for better compatiblity
Signed-off-by:
Anton Khirnov
<
anton@khirnov.net
>
parent
e42b9bc8
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
nvenc.c
libavcodec/nvenc.c
+2
-0
No files found.
libavcodec/nvenc.c
View file @
795329dd
...
...
@@ -586,6 +586,7 @@ static int nvenc_setup_h264_config(AVCodecContext *avctx)
h264
->
disableSPSPPS
=
(
avctx
->
flags
&
AV_CODEC_FLAG_GLOBAL_HEADER
)
?
1
:
0
;
h264
->
repeatSPSPPS
=
(
avctx
->
flags
&
AV_CODEC_FLAG_GLOBAL_HEADER
)
?
0
:
1
;
h264
->
outputAUD
=
1
;
h264
->
maxNumRefFrames
=
avctx
->
refs
;
h264
->
idrPeriod
=
cc
->
gopLength
;
...
...
@@ -629,6 +630,7 @@ static int nvenc_setup_hevc_config(AVCodecContext *avctx)
hevc
->
disableSPSPPS
=
(
avctx
->
flags
&
AV_CODEC_FLAG_GLOBAL_HEADER
)
?
1
:
0
;
hevc
->
repeatSPSPPS
=
(
avctx
->
flags
&
AV_CODEC_FLAG_GLOBAL_HEADER
)
?
0
:
1
;
hevc
->
outputAUD
=
1
;
hevc
->
maxNumRefFramesInDPB
=
avctx
->
refs
;
hevc
->
idrPeriod
=
cc
->
gopLength
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment