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
382a6139
Commit
382a6139
authored
Apr 16, 2008
by
Maarten Lankhorst
Committed by
Alexandre Julliard
Apr 17, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
quartz: Fix IMediaSample2 SetPreroll and SetSyncPoint.
parent
cbb0ff37
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
2 deletions
+8
-2
memallocator.c
dlls/quartz/memallocator.c
+8
-2
No files found.
dlls/quartz/memallocator.c
View file @
382a6139
...
@@ -586,7 +586,10 @@ static HRESULT WINAPI StdMediaSample2_SetSyncPoint(IMediaSample2 * iface, BOOL b
...
@@ -586,7 +586,10 @@ static HRESULT WINAPI StdMediaSample2_SetSyncPoint(IMediaSample2 * iface, BOOL b
TRACE
(
"(%s)
\n
"
,
bIsSyncPoint
?
"TRUE"
:
"FALSE"
);
TRACE
(
"(%s)
\n
"
,
bIsSyncPoint
?
"TRUE"
:
"FALSE"
);
This
->
props
.
dwSampleFlags
=
(
This
->
props
.
dwSampleFlags
&
~
AM_SAMPLE_SPLICEPOINT
)
|
bIsSyncPoint
?
AM_SAMPLE_SPLICEPOINT
:
0
;
if
(
bIsSyncPoint
)
This
->
props
.
dwSampleFlags
|=
AM_SAMPLE_SPLICEPOINT
;
else
This
->
props
.
dwSampleFlags
&=
~
AM_SAMPLE_SPLICEPOINT
;
return
S_OK
;
return
S_OK
;
}
}
...
@@ -606,7 +609,10 @@ static HRESULT WINAPI StdMediaSample2_SetPreroll(IMediaSample2 * iface, BOOL bIs
...
@@ -606,7 +609,10 @@ static HRESULT WINAPI StdMediaSample2_SetPreroll(IMediaSample2 * iface, BOOL bIs
TRACE
(
"(%s)
\n
"
,
bIsPreroll
?
"TRUE"
:
"FALSE"
);
TRACE
(
"(%s)
\n
"
,
bIsPreroll
?
"TRUE"
:
"FALSE"
);
This
->
props
.
dwSampleFlags
=
(
This
->
props
.
dwSampleFlags
&
~
AM_SAMPLE_PREROLL
)
|
bIsPreroll
?
AM_SAMPLE_PREROLL
:
0
;
if
(
bIsPreroll
)
This
->
props
.
dwSampleFlags
&=
~
AM_SAMPLE_PREROLL
;
else
This
->
props
.
dwSampleFlags
|=
AM_SAMPLE_PREROLL
;
return
S_OK
;
return
S_OK
;
}
}
...
...
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