Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
a9928379
Commit
a9928379
authored
Nov 02, 2019
by
Jeff Smith
Committed by
Alexandre Julliard
Nov 04, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msrle32: Return expected flags from GetInfo.
Signed-off-by:
Jeff Smith
<
whydoubt@gmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
718d9cb9
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
msrle32.c
dlls/msrle32/msrle32.c
+1
-1
msrle.c
dlls/msrle32/tests/msrle.c
+1
-1
No files found.
dlls/msrle32/msrle32.c
View file @
a9928379
...
@@ -1179,7 +1179,7 @@ static LRESULT GetInfo(const CodecInfo *pi, ICINFO *icinfo, DWORD dwSize)
...
@@ -1179,7 +1179,7 @@ static LRESULT GetInfo(const CodecInfo *pi, ICINFO *icinfo, DWORD dwSize)
icinfo
->
dwSize
=
sizeof
(
ICINFO
);
icinfo
->
dwSize
=
sizeof
(
ICINFO
);
icinfo
->
fccType
=
ICTYPE_VIDEO
;
icinfo
->
fccType
=
ICTYPE_VIDEO
;
icinfo
->
fccHandler
=
(
pi
!=
NULL
?
pi
->
fccHandler
:
FOURCC_MRLE
);
icinfo
->
fccHandler
=
(
pi
!=
NULL
?
pi
->
fccHandler
:
FOURCC_MRLE
);
icinfo
->
dwFlags
=
VIDCF_QUALITY
|
VIDCF_TEMPORAL
|
VIDCF_CRUNCH
|
VIDCF_FASTTEMPORALC
;
icinfo
->
dwFlags
=
VIDCF_QUALITY
|
VIDCF_TEMPORAL
|
VIDCF_CRUNCH
;
icinfo
->
dwVersion
=
ICVERSION
;
icinfo
->
dwVersion
=
ICVERSION
;
icinfo
->
dwVersionICM
=
ICVERSION
;
icinfo
->
dwVersionICM
=
ICVERSION
;
...
...
dlls/msrle32/tests/msrle.c
View file @
a9928379
...
@@ -65,7 +65,7 @@ static void test_encode(void)
...
@@ -65,7 +65,7 @@ static void test_encode(void)
ok
(
res
==
sizeof
(
info
),
"res = %ld
\n
"
,
res
);
ok
(
res
==
sizeof
(
info
),
"res = %ld
\n
"
,
res
);
ok
(
info
.
dwSize
==
sizeof
(
info
),
"dwSize = %d
\n
"
,
info
.
dwSize
);
ok
(
info
.
dwSize
==
sizeof
(
info
),
"dwSize = %d
\n
"
,
info
.
dwSize
);
ok
(
info
.
fccHandler
==
FCC
(
'M'
,
'R'
,
'L'
,
'E'
),
"fccHandler = %x
\n
"
,
info
.
fccHandler
);
ok
(
info
.
fccHandler
==
FCC
(
'M'
,
'R'
,
'L'
,
'E'
),
"fccHandler = %x
\n
"
,
info
.
fccHandler
);
todo_wine
ok
(
info
.
dwFlags
==
(
VIDCF_QUALITY
|
VIDCF_CRUNCH
|
VIDCF_TEMPORAL
),
"dwFlags = %x
\n
"
,
info
.
dwFlags
);
ok
(
info
.
dwFlags
==
(
VIDCF_QUALITY
|
VIDCF_CRUNCH
|
VIDCF_TEMPORAL
),
"dwFlags = %x
\n
"
,
info
.
dwFlags
);
ok
(
info
.
dwVersionICM
==
ICVERSION
,
"dwVersionICM = %d
\n
"
,
info
.
dwVersionICM
);
ok
(
info
.
dwVersionICM
==
ICVERSION
,
"dwVersionICM = %d
\n
"
,
info
.
dwVersionICM
);
quality
=
0xdeadbeef
;
quality
=
0xdeadbeef
;
...
...
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