Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
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-winehq
Commits
6cb1d1ec
Commit
6cb1d1ec
authored
Nov 02, 2021
by
Zebediah Figura
Committed by
Alexandre Julliard
Nov 02, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winegstreamer: Set bFixedSizeSamples for WMF video formats.
Signed-off-by:
Zebediah Figura
<
zfigura@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
7c02cd8c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
1 deletion
+3
-1
quartz_parser.c
dlls/winegstreamer/quartz_parser.c
+2
-0
wmvcore.c
dlls/wmvcore/tests/wmvcore.c
+1
-1
No files found.
dlls/winegstreamer/quartz_parser.c
View file @
6cb1d1ec
...
...
@@ -314,6 +314,8 @@ static bool amt_from_wg_format_video(AM_MEDIA_TYPE *mt, const struct wg_format *
mt
->
majortype
=
MEDIATYPE_Video
;
mt
->
subtype
=
*
format_table
[
format
->
u
.
video
.
format
].
subtype
;
if
(
wm
)
mt
->
bFixedSizeSamples
=
TRUE
;
mt
->
bTemporalCompression
=
TRUE
;
mt
->
lSampleSize
=
1
;
mt
->
formattype
=
FORMAT_VideoInfo
;
...
...
dlls/wmvcore/tests/wmvcore.c
View file @
6cb1d1ec
...
...
@@ -625,7 +625,7 @@ static void check_video_type(const WM_MEDIA_TYPE *mt)
static
const
RECT
rect
=
{.
right
=
64
,
.
bottom
=
48
};
ok
(
IsEqualGUID
(
&
mt
->
formattype
,
&
FORMAT_VideoInfo
),
"Got format %s.
\n
"
,
debugstr_guid
(
&
mt
->
formattype
));
todo_wine
ok
(
mt
->
bFixedSizeSamples
==
TRUE
,
"Got fixed size %d.
\n
"
,
mt
->
bFixedSizeSamples
);
ok
(
mt
->
bFixedSizeSamples
==
TRUE
,
"Got fixed size %d.
\n
"
,
mt
->
bFixedSizeSamples
);
todo_wine
ok
(
!
mt
->
bTemporalCompression
,
"Got temporal compression %d.
\n
"
,
mt
->
bTemporalCompression
);
ok
(
!
mt
->
pUnk
,
"Got pUnk %p.
\n
"
,
mt
->
pUnk
);
...
...
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