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
cfa4eb4f
Commit
cfa4eb4f
authored
Dec 19, 2016
by
Anton Khirnov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
vaapi_decode: use the correct logging context
parent
ea8b730d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
vaapi_decode.c
libavcodec/vaapi_decode.c
+3
-3
No files found.
libavcodec/vaapi_decode.c
View file @
cfa4eb4f
...
...
@@ -306,7 +306,7 @@ static int vaapi_decode_make_config(AVCodecContext *avctx)
vas
=
vaQueryConfigProfiles
(
ctx
->
hwctx
->
display
,
profile_list
,
&
profile_count
);
if
(
vas
!=
VA_STATUS_SUCCESS
)
{
av_log
(
ctx
,
AV_LOG_ERROR
,
"Failed to query profiles: "
av_log
(
av
ctx
,
AV_LOG_ERROR
,
"Failed to query profiles: "
"%d (%s).
\n
"
,
vas
,
vaErrorStr
(
vas
));
err
=
AVERROR
(
ENOSYS
);
goto
fail
;
...
...
@@ -338,7 +338,7 @@ static int vaapi_decode_make_config(AVCodecContext *avctx)
av_freep
(
&
profile_list
);
if
(
profile
==
VAProfileNone
)
{
av_log
(
ctx
,
AV_LOG_ERROR
,
"No support for codec %s "
av_log
(
av
ctx
,
AV_LOG_ERROR
,
"No support for codec %s "
"profile %d.
\n
"
,
codec_desc
->
name
,
avctx
->
profile
);
err
=
AVERROR
(
ENOSYS
);
goto
fail
;
...
...
@@ -390,7 +390,7 @@ static int vaapi_decode_make_config(AVCodecContext *avctx)
avctx
->
coded_height
<
constraints
->
min_height
||
avctx
->
coded_width
>
constraints
->
max_width
||
avctx
->
coded_height
>
constraints
->
max_height
)
{
av_log
(
ctx
,
AV_LOG_ERROR
,
"Hardware does not support image "
av_log
(
av
ctx
,
AV_LOG_ERROR
,
"Hardware does not support image "
"size %dx%d (constraints: width %d-%d height %d-%d).
\n
"
,
avctx
->
coded_width
,
avctx
->
coded_height
,
constraints
->
min_width
,
constraints
->
max_width
,
...
...
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