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
38291846
Commit
38291846
authored
Jan 28, 2020
by
Zebediah Figura
Committed by
Alexandre Julliard
Jan 29, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
strmbase: Remove some no longer used callbacks.
Signed-off-by:
Zebediah Figura
<
z.figura12@gmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
d263c4a3
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
26 deletions
+6
-26
transform.c
dlls/strmbase/transform.c
+6
-22
strmbase.h
include/wine/strmbase.h
+0
-4
No files found.
dlls/strmbase/transform.c
View file @
38291846
...
...
@@ -38,14 +38,6 @@ static inline TransformFilter *impl_from_sink_IPin(IPin *iface)
static
HRESULT
sink_query_accept
(
struct
strmbase_pin
*
iface
,
const
AM_MEDIA_TYPE
*
pmt
)
{
TransformFilter
*
pTransform
=
impl_from_sink_IPin
(
&
iface
->
IPin_iface
);
TRACE
(
"%p
\n
"
,
iface
);
if
(
pTransform
->
pFuncsTable
->
pfnCheckInputType
)
return
pTransform
->
pFuncsTable
->
pfnCheckInputType
(
pTransform
,
pmt
);
/* Assume OK if there's no query method (the connection will fail if
needed) */
return
S_OK
;
}
...
...
@@ -239,13 +231,9 @@ static HRESULT sink_eos(struct strmbase_sink *iface)
static
HRESULT
sink_begin_flush
(
struct
strmbase_sink
*
iface
)
{
TransformFilter
*
filter
=
impl_from_sink_IPin
(
&
iface
->
pin
.
IPin_iface
);
HRESULT
hr
=
S_OK
;
if
(
filter
->
pFuncsTable
->
pfnBeginFlush
)
hr
=
filter
->
pFuncsTable
->
pfnBeginFlush
(
filter
);
if
(
SUCCEEDED
(
hr
)
&&
filter
->
source
.
pin
.
peer
)
hr
=
IPin_BeginFlush
(
filter
->
source
.
pin
.
peer
);
return
hr
;
if
(
filter
->
source
.
pin
.
peer
)
return
IPin_BeginFlush
(
filter
->
source
.
pin
.
peer
);
return
S_OK
;
}
static
HRESULT
sink_end_flush
(
struct
strmbase_sink
*
iface
)
...
...
@@ -264,13 +252,9 @@ static HRESULT sink_new_segment(struct strmbase_sink *iface,
REFERENCE_TIME
start
,
REFERENCE_TIME
stop
,
double
rate
)
{
TransformFilter
*
filter
=
impl_from_sink_IPin
(
&
iface
->
pin
.
IPin_iface
);
HRESULT
hr
=
S_OK
;
if
(
filter
->
pFuncsTable
->
pfnNewSegment
)
hr
=
filter
->
pFuncsTable
->
pfnNewSegment
(
filter
,
start
,
stop
,
rate
);
if
(
SUCCEEDED
(
hr
)
&&
filter
->
source
.
pin
.
peer
)
hr
=
IPin_NewSegment
(
filter
->
source
.
pin
.
peer
,
start
,
stop
,
rate
);
return
hr
;
if
(
filter
->
source
.
pin
.
peer
)
return
IPin_NewSegment
(
filter
->
source
.
pin
.
peer
,
start
,
stop
,
rate
);
return
S_OK
;
}
static
const
struct
strmbase_sink_ops
sink_ops
=
...
...
include/wine/strmbase.h
View file @
38291846
...
...
@@ -195,13 +195,9 @@ typedef struct TransformFilterFuncTable {
TransformFilter_StartStreaming
pfnStartStreaming
;
TransformFilter_Receive
pfnReceive
;
TransformFilter_StopStreaming
pfnStopStreaming
;
TransformFilter_CheckInputType
pfnCheckInputType
;
HRESULT
(
*
transform_connect_sink
)(
TransformFilter
*
filter
,
const
AM_MEDIA_TYPE
*
mt
);
TransformFilter_BreakConnect
pfnBreakConnect
;
TransformFilter_EndOfStream
pfnEndOfStream
;
TransformFilter_BeginFlush
pfnBeginFlush
;
TransformFilter_EndFlush
pfnEndFlush
;
TransformFilter_NewSegment
pfnNewSegment
;
TransformFilter_Notify
pfnNotify
;
}
TransformFilterFuncTable
;
...
...
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