Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
F
ffmpeg
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
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
ffmpeg
Commits
92fdc80c
Commit
92fdc80c
authored
Jun 25, 2015
by
Luca Barbato
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
nvenc: Fix NV12 input
parent
072756cd
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
nvenc.c
libavcodec/nvenc.c
+2
-2
No files found.
libavcodec/nvenc.c
View file @
92fdc80c
...
@@ -881,9 +881,9 @@ static int nvenc_copy_frame(NV_ENC_LOCK_INPUT_BUFFER *in, const AVFrame *frame)
...
@@ -881,9 +881,9 @@ static int nvenc_copy_frame(NV_ENC_LOCK_INPUT_BUFFER *in, const AVFrame *frame)
frame
->
width
,
frame
->
height
);
frame
->
width
,
frame
->
height
);
buf
+=
off
;
buf
+=
off
;
av_image_copy_plane
(
buf
,
in
->
pitch
>>
1
,
av_image_copy_plane
(
buf
,
in
->
pitch
,
frame
->
data
[
1
],
frame
->
linesize
[
1
],
frame
->
data
[
1
],
frame
->
linesize
[
1
],
frame
->
width
>>
1
,
frame
->
height
>>
1
);
frame
->
width
,
frame
->
height
>>
1
);
break
;
break
;
case
AV_PIX_FMT_YUV444P
:
case
AV_PIX_FMT_YUV444P
:
av_image_copy_plane
(
buf
,
in
->
pitch
,
av_image_copy_plane
(
buf
,
in
->
pitch
,
...
...
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