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
51c5f44b
Commit
51c5f44b
authored
May 23, 2023
by
Ziqing Hui
Committed by
Alexandre Julliard
May 23, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winegstreamer: Implement Discontinuity for WMV decoder DMO.
parent
2a83ef07
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
5 deletions
+6
-5
transform.c
dlls/mf/tests/transform.c
+0
-3
wmv_decoder.c
dlls/winegstreamer/wmv_decoder.c
+6
-2
No files found.
dlls/mf/tests/transform.c
View file @
51c5f44b
...
...
@@ -5596,13 +5596,10 @@ static void test_wmv_decoder_media_object(void)
/* Test Discontinuity. */
hr
=
IMediaObject_Discontinuity
(
media_object
,
0xdeadbeef
);
todo_wine
ok
(
hr
==
DMO_E_INVALIDSTREAMINDEX
,
"Discontinuity returned %#lx.
\n
"
,
hr
);
hr
=
IMediaObject_Discontinuity
(
media_object
,
0
);
todo_wine
ok
(
hr
==
S_OK
,
"Discontinuity returned %#lx.
\n
"
,
hr
);
hr
=
IMediaObject_Discontinuity
(
media_object
,
0
);
todo_wine
ok
(
hr
==
S_OK
,
"Discontinuity returned %#lx.
\n
"
,
hr
);
hr
=
IMediaObject_GetInputStatus
(
media_object
,
0
,
&
status
);
ok
(
hr
==
S_OK
,
"GetInputStatus returned %#lx.
\n
"
,
hr
);
...
...
dlls/winegstreamer/wmv_decoder.c
View file @
51c5f44b
...
...
@@ -662,8 +662,12 @@ static HRESULT WINAPI media_object_Flush(IMediaObject *iface)
static
HRESULT
WINAPI
media_object_Discontinuity
(
IMediaObject
*
iface
,
DWORD
index
)
{
FIXME
(
"iface %p, index %lu stub!
\n
"
,
iface
,
index
);
return
E_NOTIMPL
;
TRACE
(
"iface %p, index %lu.
\n
"
,
iface
,
index
);
if
(
index
>
0
)
return
DMO_E_INVALIDSTREAMINDEX
;
return
S_OK
;
}
static
HRESULT
WINAPI
media_object_AllocateStreamingResources
(
IMediaObject
*
iface
)
...
...
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