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
117e07e7
Commit
117e07e7
authored
Jun 19, 2019
by
Zebediah Figura
Committed by
Alexandre Julliard
Jun 20, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winegstreamer: Use strmbase pin reference counting methods.
Signed-off-by:
Zebediah Figura
<
z.figura12@gmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
628d60a1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
28 deletions
+4
-28
gstdemux.c
dlls/winegstreamer/gstdemux.c
+4
-28
No files found.
dlls/winegstreamer/gstdemux.c
View file @
117e07e7
...
...
@@ -1687,18 +1687,6 @@ static HRESULT WINAPI GSTOutPin_QueryInterface(IPin *iface, REFIID riid, void **
return
E_NOINTERFACE
;
}
static
ULONG
WINAPI
GSTOutPin_AddRef
(
IPin
*
iface
)
{
GSTOutPin
*
pin
=
impl_source_from_IPin
(
iface
);
return
IBaseFilter_AddRef
(
pin
->
pin
.
pin
.
pinInfo
.
pFilter
);
}
static
ULONG
WINAPI
GSTOutPin_Release
(
IPin
*
iface
)
{
GSTOutPin
*
pin
=
impl_source_from_IPin
(
iface
);
return
IBaseFilter_Release
(
pin
->
pin
.
pin
.
pinInfo
.
pFilter
);
}
static
HRESULT
WINAPI
GSTOutPin_CheckMediaType
(
BasePin
*
base
,
const
AM_MEDIA_TYPE
*
amt
)
{
FIXME
(
"(%p) stub
\n
"
,
base
);
...
...
@@ -1794,8 +1782,8 @@ static void free_source_pin(GSTOutPin *pin)
static
const
IPinVtbl
GST_OutputPin_Vtbl
=
{
GSTOutPin_QueryInterface
,
GSTOutPin
_AddRef
,
GSTOutPin
_Release
,
BasePinImpl
_AddRef
,
BasePinImpl
_Release
,
BaseOutputPinImpl_Connect
,
BaseOutputPinImpl_ReceiveConnection
,
BaseOutputPinImpl_Disconnect
,
...
...
@@ -1879,18 +1867,6 @@ static inline GSTInPin *impl_sink_from_IPin(IPin *iface)
return
CONTAINING_RECORD
(
iface
,
GSTInPin
,
pin
.
IPin_iface
);
}
static
ULONG
WINAPI
GSTInPin_AddRef
(
IPin
*
iface
)
{
GSTInPin
*
pin
=
impl_sink_from_IPin
(
iface
);
return
IBaseFilter_AddRef
(
pin
->
pin
.
pinInfo
.
pFilter
);
}
static
ULONG
WINAPI
GSTInPin_Release
(
IPin
*
iface
)
{
GSTInPin
*
pin
=
impl_sink_from_IPin
(
iface
);
return
IBaseFilter_Release
(
pin
->
pin
.
pinInfo
.
pFilter
);
}
static
HRESULT
WINAPI
GSTInPin_ReceiveConnection
(
IPin
*
iface
,
IPin
*
pReceivePin
,
const
AM_MEDIA_TYPE
*
pmt
)
{
GSTInPin
*
This
=
impl_sink_from_IPin
(
iface
);
...
...
@@ -2073,8 +2049,8 @@ static HRESULT WINAPI GSTInPin_EnumMediaTypes(IPin *iface, IEnumMediaTypes **ppE
static
const
IPinVtbl
GST_InputPin_Vtbl
=
{
GSTInPin_QueryInterface
,
GSTInPin
_AddRef
,
GSTInPin
_Release
,
BasePinImpl
_AddRef
,
BasePinImpl
_Release
,
BaseInputPinImpl_Connect
,
GSTInPin_ReceiveConnection
,
GSTInPin_Disconnect
,
...
...
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