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
dbfe60ca
Commit
dbfe60ca
authored
Dec 08, 2016
by
Ruta Gadkari
Committed by
Vittorio Giovara
Dec 08, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
vf_hwupload_cuda: Add min/max limits for device option
parent
4efea4ce
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
vf_hwupload_cuda.c
libavfilter/vf_hwupload_cuda.c
+1
-1
No files found.
libavfilter/vf_hwupload_cuda.c
View file @
dbfe60ca
...
...
@@ -187,7 +187,7 @@ fail:
#define OFFSET(x) offsetof(CudaUploadContext, x)
#define FLAGS AV_OPT_FLAG_VIDEO_PARAM
static
const
AVOption
options
[]
=
{
{
"device"
,
"Number of the device to use"
,
OFFSET
(
device_idx
),
AV_OPT_TYPE_INT
,
{
.
i64
=
0
},
.
flags
=
FLAGS
},
{
"device"
,
"Number of the device to use"
,
OFFSET
(
device_idx
),
AV_OPT_TYPE_INT
,
{
.
i64
=
0
},
0
,
INT_MAX
,
FLAGS
},
{
NULL
},
};
...
...
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