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
1ed45a74
Commit
1ed45a74
authored
Jan 02, 2014
by
Jacek Caban
Committed by
Alexandre Julliard
Jan 02, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msrle32: Use the same default quality as native.
parent
99ef0d6f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
1 deletion
+8
-1
msrle_private.h
dlls/msrle32/msrle_private.h
+1
-1
msrle.c
dlls/msrle32/tests/msrle.c
+7
-0
No files found.
dlls/msrle32/msrle_private.h
View file @
1ed45a74
...
...
@@ -34,7 +34,7 @@
#define IDS_DESCRIPTION 101
#define IDS_ABOUT 102
#define MSRLE32_DEFAULTQUALITY (
7
5 * ICQUALITY_HIGH) / 100
#define MSRLE32_DEFAULTQUALITY (
8
5 * ICQUALITY_HIGH) / 100
#define FOURCC_RLE mmioFOURCC('R','L','E',' ')
#define FOURCC_RLE4 mmioFOURCC('R','L','E','4')
...
...
dlls/msrle32/tests/msrle.c
View file @
1ed45a74
...
...
@@ -20,11 +20,13 @@
#include <windows.h>
#include <vfw.h>
#include <aviriff.h>
#include <stdio.h>
#include "wine/test.h"
static
void
test_encode
(
void
)
{
DWORD
quality
;
ICINFO
info
;
HIC
hic
;
LRESULT
res
;
...
...
@@ -39,6 +41,11 @@ static void test_encode(void)
todo_wine
ok
(
info
.
dwFlags
==
(
VIDCF_QUALITY
|
VIDCF_CRUNCH
|
VIDCF_TEMPORAL
),
"dwFlags = %x
\n
"
,
info
.
dwFlags
);
ok
(
info
.
dwVersionICM
==
ICVERSION
,
"dwVersionICM = %d
\n
"
,
info
.
dwVersionICM
);
quality
=
0xdeadbeef
;
res
=
ICSendMessage
(
hic
,
ICM_GETDEFAULTQUALITY
,
(
DWORD_PTR
)
&
quality
,
0
);
ok
(
res
==
ICERR_OK
,
"ICSendMessage(ICM_GETDEFAULTQUALITY) failed: %ld
\n
"
,
res
);
ok
(
quality
==
8500
,
"quality = %d
\n
"
,
quality
);
ICClose
(
hic
);
}
...
...
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