Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
23b99c7a
Commit
23b99c7a
authored
Oct 27, 2019
by
Zebediah Figura
Committed by
Alexandre Julliard
Oct 28, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
qedit/samplegrabber: Use strmbase state change methods.
Signed-off-by:
Zebediah Figura
<
z.figura12@gmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
abb547f4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
33 deletions
+3
-33
samplegrabber.c
dlls/qedit/samplegrabber.c
+3
-33
No files found.
dlls/qedit/samplegrabber.c
View file @
23b99c7a
...
...
@@ -371,36 +371,6 @@ static void SampleGrabber_callback(SG_Impl *This, IMediaSample *sample)
}
}
/* IMediaFilter */
static
HRESULT
WINAPI
SampleGrabber_IBaseFilter_Stop
(
IBaseFilter
*
iface
)
{
SG_Impl
*
This
=
impl_from_IBaseFilter
(
iface
);
TRACE
(
"(%p)
\n
"
,
This
);
This
->
filter
.
state
=
State_Stopped
;
return
S_OK
;
}
/* IMediaFilter */
static
HRESULT
WINAPI
SampleGrabber_IBaseFilter_Pause
(
IBaseFilter
*
iface
)
{
SG_Impl
*
This
=
impl_from_IBaseFilter
(
iface
);
TRACE
(
"(%p)
\n
"
,
This
);
This
->
filter
.
state
=
State_Paused
;
return
S_OK
;
}
/* IMediaFilter */
static
HRESULT
WINAPI
SampleGrabber_IBaseFilter_Run
(
IBaseFilter
*
iface
,
REFERENCE_TIME
tStart
)
{
SG_Impl
*
This
=
impl_from_IBaseFilter
(
iface
);
TRACE
(
"(%p)
\n
"
,
This
);
This
->
filter
.
state
=
State_Running
;
return
S_OK
;
}
/* IBaseFilter */
static
HRESULT
WINAPI
SampleGrabber_IBaseFilter_JoinFilterGraph
(
IBaseFilter
*
iface
,
IFilterGraph
*
graph
,
LPCWSTR
name
)
...
...
@@ -1033,9 +1003,9 @@ static const IBaseFilterVtbl IBaseFilter_VTable =
BaseFilterImpl_AddRef
,
BaseFilterImpl_Release
,
BaseFilterImpl_GetClassID
,
SampleGrabber_IBaseFilter
_Stop
,
SampleGrabber_IBaseFilter
_Pause
,
SampleGrabber_IBaseFilter
_Run
,
BaseFilterImpl
_Stop
,
BaseFilterImpl
_Pause
,
BaseFilterImpl
_Run
,
BaseFilterImpl_GetState
,
BaseFilterImpl_SetSyncSource
,
BaseFilterImpl_GetSyncSource
,
...
...
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