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
212556cd
Commit
212556cd
authored
Mar 11, 2015
by
Yukinori Yamazoe
Committed by
Anton Khirnov
Mar 11, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
qsv: Improve the log message of when initializing MFX_IMPL_HARDWARE{2, 3, 4}
Signed-off-by:
Anton Khirnov
<
anton@khirnov.net
>
parent
7a76c6c4
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
3 deletions
+10
-3
qsv.c
libavcodec/qsv.c
+10
-3
No files found.
libavcodec/qsv.c
View file @
212556cd
...
@@ -117,12 +117,19 @@ static int qsv_init_session(AVCodecContext *avctx, QSVContext *q, mfxSession ses
...
@@ -117,12 +117,19 @@ static int qsv_init_session(AVCodecContext *avctx, QSVContext *q, mfxSession ses
MFXQueryIMPL
(
q
->
internal_session
,
&
impl
);
MFXQueryIMPL
(
q
->
internal_session
,
&
impl
);
if
(
impl
&
MFX_IMPL_SOFTWARE
)
switch
(
MFX_IMPL_BASETYPE
(
impl
))
{
case
MFX_IMPL_SOFTWARE
:
desc
=
"software"
;
desc
=
"software"
;
else
if
(
impl
&
MFX_IMPL_HARDWARE
)
break
;
case
MFX_IMPL_HARDWARE
:
case
MFX_IMPL_HARDWARE2
:
case
MFX_IMPL_HARDWARE3
:
case
MFX_IMPL_HARDWARE4
:
desc
=
"hardware accelerated"
;
desc
=
"hardware accelerated"
;
else
break
;
default:
desc
=
"unknown"
;
desc
=
"unknown"
;
}
av_log
(
avctx
,
AV_LOG_VERBOSE
,
av_log
(
avctx
,
AV_LOG_VERBOSE
,
"Initialized an internal MFX session using %s implementation
\n
"
,
"Initialized an internal MFX session using %s implementation
\n
"
,
...
...
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