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
5444f9a0
Commit
5444f9a0
authored
Sep 13, 2012
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
DMO: blind fix for loader compilation
parent
6d65b582
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
modules/codec/dmo/dmo.c
modules/codec/dmo/dmo.c
+6
-2
No files found.
modules/codec/dmo/dmo.c
View file @
5444f9a0
...
...
@@ -178,6 +178,10 @@ static const GUID guid_wmv_enc = { 0x3181343b, 0x94a2, 0x4feb, { 0xad, 0xef, 0x3
static
const
GUID
guid_wmv_enc2
=
{
0x96b57cdd
,
0x8966
,
0x410c
,{
0xbb
,
0x1f
,
0xc9
,
0x7e
,
0xea
,
0x76
,
0x5c
,
0x04
}
};
static
const
GUID
guid_wma_enc
=
{
0x70f598e9
,
0xf4ab
,
0x495a
,
{
0x99
,
0xe2
,
0xa7
,
0xc4
,
0xd3
,
0xd8
,
0x9a
,
0xbf
}
};
#ifndef BI_RGB
# define BI_RGB 0x0
#endif
typedef
struct
{
vlc_fourcc_t
i_fourcc
;
...
...
@@ -525,7 +529,7 @@ static int DecOpen( decoder_t *p_dec )
DMOFreeMediaType
(
&
mt
);
}
p_dec
->
fmt_out
.
i_codec
=
i_chroma
==
VLC_CODEC_YV12
?
VLC_CODEC_I420
:
i_chroma
;
p_dec
->
fmt_out
.
video
.
i_width
=
p_dec
->
fmt_in
.
video
.
i_width
;
p_dec
->
fmt_out
.
video
.
i_height
=
p_dec
->
fmt_in
.
video
.
i_height
;
...
...
@@ -561,7 +565,7 @@ static int DecOpen( decoder_t *p_dec )
{
dmo_output_type
.
subtype
=
MEDIASUBTYPE_RGB24
;
}
else
else
{
dmo_output_type
.
subtype
=
dmo_output_type
.
majortype
;
dmo_output_type
.
subtype
.
Data1
=
p_bih
->
biCompression
;
...
...
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