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
fb2c975a
Commit
fb2c975a
authored
Apr 18, 2008
by
Maarten Lankhorst
Committed by
Alexandre Julliard
Apr 21, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
quartz: No longer drop packets on discontinuities.
parent
0458c08b
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
acmwrapper.c
dlls/quartz/acmwrapper.c
+4
-4
No files found.
dlls/quartz/acmwrapper.c
View file @
fb2c975a
...
@@ -118,11 +118,14 @@ static HRESULT ACMWrapper_ProcessSampleData(TransformFilterImpl* pTransformFilte
...
@@ -118,11 +118,14 @@ static HRESULT ACMWrapper_ProcessSampleData(TransformFilterImpl* pTransformFilte
unprepare_header
=
TRUE
;
unprepare_header
=
TRUE
;
if
(
IMediaSample_IsDiscontinuity
(
pSample
)
==
S_OK
)
if
(
IMediaSample_IsDiscontinuity
(
pSample
)
==
S_OK
)
{
res
=
acmStreamConvert
(
This
->
has
,
&
ash
,
ACM_STREAMCONVERTF_START
);
res
=
acmStreamConvert
(
This
->
has
,
&
ash
,
ACM_STREAMCONVERTF_START
);
/* One sample could be converted to multiple packets */
IMediaSample_SetDiscontinuity
(
pSample
,
FALSE
);
}
else
else
res
=
acmStreamConvert
(
This
->
has
,
&
ash
,
0
);
res
=
acmStreamConvert
(
This
->
has
,
&
ash
,
0
);
if
(
res
)
if
(
res
)
{
{
if
(
res
!=
MMSYSERR_MOREDATA
)
if
(
res
!=
MMSYSERR_MOREDATA
)
...
@@ -162,10 +165,7 @@ static HRESULT ACMWrapper_ProcessSampleData(TransformFilterImpl* pTransformFilte
...
@@ -162,10 +165,7 @@ static HRESULT ACMWrapper_ProcessSampleData(TransformFilterImpl* pTransformFilte
}
}
TRACE
(
"Sample stop time: %u.%03u
\n
"
,
(
DWORD
)(
tStart
/
10000000
),
(
DWORD
)((
tStart
/
10000
)
%
1000
));
TRACE
(
"Sample stop time: %u.%03u
\n
"
,
(
DWORD
)(
tStart
/
10000000
),
(
DWORD
)((
tStart
/
10000
)
%
1000
));
if
(
IMediaSample_IsDiscontinuity
(
pSample
)
==
S_FALSE
)
hr
=
OutputPin_SendSample
((
OutputPin
*
)
This
->
tf
.
ppPins
[
1
],
pOutSample
);
hr
=
OutputPin_SendSample
((
OutputPin
*
)
This
->
tf
.
ppPins
[
1
],
pOutSample
);
else
TRACE
(
"Skipping first sample: Discontinuity
\n
"
);
if
(
hr
!=
S_OK
&&
hr
!=
VFW_E_NOT_CONNECTED
)
{
if
(
hr
!=
S_OK
&&
hr
!=
VFW_E_NOT_CONNECTED
)
{
if
(
FAILED
(
hr
))
if
(
FAILED
(
hr
))
...
...
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