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
42ff56e3
Commit
42ff56e3
authored
Jan 01, 2016
by
Hendrik Leppkes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lavc: fix profile declarations for vdpau decoders
parent
1e96b151
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
h264.c
libavcodec/h264.c
+1
-1
vc1dec.c
libavcodec/vc1dec.c
+2
-2
No files found.
libavcodec/h264.c
View file @
42ff56e3
...
...
@@ -2004,7 +2004,7 @@ AVCodec ff_h264_vdpau_decoder = {
.
flush
=
flush_dpb
,
.
pix_fmts
=
(
const
enum
AVPixelFormat
[])
{
AV_PIX_FMT_VDPAU_H264
,
AV_PIX_FMT_NONE
},
.
profiles
=
NULL_IF_CONFIG_SMALL
(
profiles
),
.
profiles
=
NULL_IF_CONFIG_SMALL
(
ff_h264_
profiles
),
.
priv_class
=
&
h264_vdpau_class
,
};
#endif
libavcodec/vc1dec.c
View file @
42ff56e3
...
...
@@ -1165,7 +1165,7 @@ AVCodec ff_wmv3_vdpau_decoder = {
.
decode
=
vc1_decode_frame
,
.
capabilities
=
AV_CODEC_CAP_DR1
|
AV_CODEC_CAP_DELAY
|
AV_CODEC_CAP_HWACCEL_VDPAU
,
.
pix_fmts
=
(
const
enum
AVPixelFormat
[]){
AV_PIX_FMT_VDPAU_WMV3
,
AV_PIX_FMT_NONE
},
.
profiles
=
NULL_IF_CONFIG_SMALL
(
profiles
)
.
profiles
=
NULL_IF_CONFIG_SMALL
(
ff_vc1_
profiles
)
};
#endif
...
...
@@ -1181,7 +1181,7 @@ AVCodec ff_vc1_vdpau_decoder = {
.
decode
=
vc1_decode_frame
,
.
capabilities
=
AV_CODEC_CAP_DR1
|
AV_CODEC_CAP_DELAY
|
AV_CODEC_CAP_HWACCEL_VDPAU
,
.
pix_fmts
=
(
const
enum
AVPixelFormat
[]){
AV_PIX_FMT_VDPAU_VC1
,
AV_PIX_FMT_NONE
},
.
profiles
=
NULL_IF_CONFIG_SMALL
(
profiles
)
.
profiles
=
NULL_IF_CONFIG_SMALL
(
ff_vc1_
profiles
)
};
#endif
...
...
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