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
d90ab080
Commit
d90ab080
authored
Aug 25, 2021
by
Zebediah Figura
Committed by
Alexandre Julliard
Aug 26, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winegstreamer: Always return S_FALSE from DllCanUnloadNow().
Signed-off-by:
Zebediah Figura
<
zfigura@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
d3cd3ebc
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
0 additions
and
22 deletions
+0
-22
gst_private.h
dlls/winegstreamer/gst_private.h
+0
-2
main.c
dlls/winegstreamer/main.c
+0
-14
mfplat.c
dlls/winegstreamer/mfplat.c
+0
-6
No files found.
dlls/winegstreamer/gst_private.h
View file @
d90ab080
...
...
@@ -198,8 +198,6 @@ struct unix_funcs
extern
const
struct
unix_funcs
*
unix_funcs
;
extern
LONG
object_locks
;
HRESULT
avi_splitter_create
(
IUnknown
*
outer
,
IUnknown
**
out
)
DECLSPEC_HIDDEN
;
HRESULT
decodebin_parser_create
(
IUnknown
*
outer
,
IUnknown
**
out
)
DECLSPEC_HIDDEN
;
HRESULT
mpeg_splitter_create
(
IUnknown
*
outer
,
IUnknown
**
out
)
DECLSPEC_HIDDEN
;
...
...
dlls/winegstreamer/main.c
View file @
d90ab080
...
...
@@ -27,8 +27,6 @@
#include "initguid.h"
#include "gst_guids.h"
LONG
object_locks
;
WINE_DEFAULT_DEBUG_CHANNEL
(
quartz
);
const
struct
unix_funcs
*
unix_funcs
=
NULL
;
...
...
@@ -43,13 +41,6 @@ BOOL WINAPI DllMain(HINSTANCE instance, DWORD reason, void *reserved)
return
TRUE
;
}
HRESULT
WINAPI
DllCanUnloadNow
(
void
)
{
TRACE
(
".
\n
"
);
return
object_locks
?
S_FALSE
:
S_OK
;
}
struct
class_factory
{
IClassFactory
IClassFactory_iface
;
...
...
@@ -110,11 +101,6 @@ static HRESULT WINAPI class_factory_CreateInstance(IClassFactory *iface, IUnknow
static
HRESULT
WINAPI
class_factory_LockServer
(
IClassFactory
*
iface
,
BOOL
lock
)
{
TRACE
(
"iface %p, lock %d.
\n
"
,
iface
,
lock
);
if
(
lock
)
InterlockedIncrement
(
&
object_locks
);
else
InterlockedDecrement
(
&
object_locks
);
return
S_OK
;
}
...
...
dlls/winegstreamer/mfplat.c
View file @
d90ab080
...
...
@@ -354,12 +354,6 @@ static HRESULT WINAPI class_factory_CreateInstance(IClassFactory *iface, IUnknow
static
HRESULT
WINAPI
class_factory_LockServer
(
IClassFactory
*
iface
,
BOOL
dolock
)
{
TRACE
(
"%p, %d.
\n
"
,
iface
,
dolock
);
if
(
dolock
)
InterlockedIncrement
(
&
object_locks
);
else
InterlockedDecrement
(
&
object_locks
);
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