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
cd3b23c1
Commit
cd3b23c1
authored
Nov 19, 2020
by
Zebediah Figura
Committed by
Alexandre Julliard
Nov 20, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
quartz/avidec: Don't copy the media time to the output sample.
Signed-off-by:
Zebediah Figura
<
z.figura12@gmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
f0a6cb91
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
6 deletions
+1
-6
avidec.c
dlls/quartz/avidec.c
+0
-5
avidec.c
dlls/quartz/tests/avidec.c
+1
-1
No files found.
dlls/quartz/avidec.c
View file @
cd3b23c1
...
...
@@ -204,11 +204,6 @@ static HRESULT WINAPI avi_decompressor_sink_Receive(struct strmbase_sink *iface,
else
IMediaSample_SetTime
(
pOutSample
,
NULL
,
NULL
);
if
(
IMediaSample_GetMediaTime
(
pSample
,
&
tStart
,
&
tStop
)
==
S_OK
)
IMediaSample_SetMediaTime
(
pOutSample
,
&
tStart
,
&
tStop
);
else
IMediaSample_SetMediaTime
(
pOutSample
,
NULL
,
NULL
);
hr
=
IMemInputPin_Receive
(
This
->
source
.
pMemInputPin
,
pOutSample
);
if
(
hr
!=
S_OK
&&
hr
!=
VFW_E_NOT_CONNECTED
)
ERR
(
"Error sending sample (%x)
\n
"
,
hr
);
...
...
dlls/quartz/tests/avidec.c
View file @
cd3b23c1
...
...
@@ -911,7 +911,7 @@ static HRESULT WINAPI testsink_Receive(struct strmbase_sink *iface, IMediaSample
}
hr
=
IMediaSample_GetMediaTime
(
sample
,
&
start
,
&
stop
);
todo_wine
ok
(
hr
==
VFW_E_MEDIA_TIME_NOT_SET
,
"Got hr %#x.
\n
"
,
hr
);
ok
(
hr
==
VFW_E_MEDIA_TIME_NOT_SET
,
"Got hr %#x.
\n
"
,
hr
);
hr
=
IMediaSample_IsDiscontinuity
(
sample
);
todo_wine_if
(
testmode
==
5
)
ok
(
hr
==
(
testmode
==
4
)
?
S_OK
:
S_FALSE
,
"Got hr %#x.
\n
"
,
hr
);
hr
=
IMediaSample_IsPreroll
(
sample
);
...
...
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