Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc
Commits
febb76cf
Commit
febb76cf
authored
Jan 30, 2016
by
Steve Lhomme
Committed by
Jean-Baptiste Kempf
Feb 05, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
use DXVA2_NoEncrypt instead of the legacy DXVA_NoEncrypt
Signed-off-by:
Jean-Baptiste Kempf
<
jb@videolan.org
>
parent
e8733b21
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
3 deletions
+5
-3
modules/codec/avcodec/d3d11va.c
modules/codec/avcodec/d3d11va.c
+3
-1
modules/codec/avcodec/dxva2.c
modules/codec/avcodec/dxva2.c
+2
-2
No files found.
modules/codec/avcodec/d3d11va.c
View file @
febb76cf
...
...
@@ -92,6 +92,8 @@ DEFINE_GUID(IID_ID3D10Multithread, 0x9b7e4e00, 0x342c, 0x4106, 0xa1, 0x9f, 0x4
DEFINE_GUID
(
DXVA_Intel_H264_NoFGT_ClearVideo
,
0x604F8E68
,
0x4951
,
0x4c54
,
0x88
,
0xFE
,
0xAB
,
0xD2
,
0x5C
,
0x15
,
0xB3
,
0xD6
);
DEFINE_GUID
(
DXVA2_NoEncrypt
,
0x1b81bed0
,
0xa0c7
,
0x11d3
,
0xb9
,
0x84
,
0x00
,
0xc0
,
0x4f
,
0x2e
,
0x73
,
0xc5
);
struct
vlc_va_sys_t
{
directx_sys_t
dx_sys
;
...
...
@@ -780,7 +782,7 @@ static int DxCreateDecoderSurfaces(vlc_va_t *va, int codec_id, const video_forma
score
=
2
;
else
continue
;
if
(
IsEqualGUID
(
&
cfg
->
guidConfigBitstreamEncryption
,
&
DXVA_NoEncrypt
))
if
(
IsEqualGUID
(
&
cfg
->
guidConfigBitstreamEncryption
,
&
DXVA
2
_NoEncrypt
))
score
+=
16
;
if
(
cfg_score
<
score
)
{
...
...
modules/codec/avcodec/dxva2.c
View file @
febb76cf
...
...
@@ -75,7 +75,7 @@ vlc_module_end()
MS_GUID
(
IID_IDirectXVideoDecoderService
,
0xfc51a551
,
0xd5e7
,
0x11d9
,
0xaf
,
0x55
,
0x00
,
0x05
,
0x4e
,
0x43
,
0xff
,
0x02
);
MS_GUID
(
IID_IDirectXVideoAccelerationService
,
0xfc51a550
,
0xd5e7
,
0x11d9
,
0xaf
,
0x55
,
0x00
,
0x05
,
0x4e
,
0x43
,
0xff
,
0x02
);
MS_GUID
(
DXVA_NoEncrypt
,
0x1b81bed0
,
0xa0c7
,
0x11d3
,
0xb9
,
0x84
,
0x00
,
0xc0
,
0x4f
,
0x2e
,
0x73
,
0xc5
);
DEFINE_GUID
(
DXVA2_NoEncrypt
,
0x1b81bed0
,
0xa0c7
,
0x11d3
,
0xb9
,
0x84
,
0x00
,
0xc0
,
0x4f
,
0x2e
,
0x73
,
0xc5
);
DEFINE_GUID
(
DXVA_Intel_H264_NoFGT_ClearVideo
,
0x604F8E68
,
0x4951
,
0x4c54
,
0x88
,
0xFE
,
0xAB
,
0xD2
,
0x5C
,
0x15
,
0xB3
,
0xD6
);
...
...
@@ -743,7 +743,7 @@ static int DxCreateVideoDecoder(vlc_va_t *va, int codec_id, const video_format_t
score
=
2
;
else
continue
;
if
(
IsEqualGUID
(
&
cfg
->
guidConfigBitstreamEncryption
,
&
DXVA_NoEncrypt
))
if
(
IsEqualGUID
(
&
cfg
->
guidConfigBitstreamEncryption
,
&
DXVA
2
_NoEncrypt
))
score
+=
16
;
if
(
cfg_score
<
score
)
{
...
...
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