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
48f3adc0
Commit
48f3adc0
authored
Oct 25, 2010
by
Aric Stewart
Committed by
Alexandre Julliard
Oct 26, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winegstreamer: Add glib threading overrides.
parent
6b897513
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
417 additions
and
0 deletions
+417
-0
Makefile.in
dlls/winegstreamer/Makefile.in
+1
-0
glibthread.c
dlls/winegstreamer/glibthread.c
+390
-0
gst_private.h
dlls/winegstreamer/gst_private.h
+3
-0
main.c
dlls/winegstreamer/main.c
+23
-0
No files found.
dlls/winegstreamer/Makefile.in
View file @
48f3adc0
...
...
@@ -4,6 +4,7 @@ EXTRAINCL = @GSTREAMER_INCL@
EXTRALIBS
=
@GSTREAMER_LIBS@ @LIBPTHREAD@
C_SRCS
=
\
glibthread.c
\
main.c
RC_SRCS
=
\
...
...
dlls/winegstreamer/glibthread.c
0 → 100644
View file @
48f3adc0
This diff is collapsed.
Click to expand it.
dlls/winegstreamer/gst_private.h
View file @
48f3adc0
...
...
@@ -37,4 +37,7 @@
/* enum media */
void
dump_AM_MEDIA_TYPE
(
const
AM_MEDIA_TYPE
*
pmt
);
void
g_thread_impl_init
(
void
);
DWORD
Gstreamer_init
(
void
);
#endif
/* __GST_PRIVATE_INCLUDED__ */
dlls/winegstreamer/main.c
View file @
48f3adc0
...
...
@@ -64,6 +64,29 @@ void dump_AM_MEDIA_TYPE(const AM_MEDIA_TYPE * pmt)
TRACE
(
"
\t
%s
\n\t
%s
\n\t
...
\n\t
%s
\n
"
,
debugstr_guid
(
&
pmt
->
majortype
),
debugstr_guid
(
&
pmt
->
subtype
),
debugstr_guid
(
&
pmt
->
formattype
));
}
DWORD
Gstreamer_init
(
void
)
{
static
int
inited
;
if
(
!
inited
)
{
char
argv0
[]
=
"wine"
;
char
argv1
[]
=
"--gst-disable-registry-fork"
;
char
**
argv
=
HeapAlloc
(
GetProcessHeap
(),
0
,
sizeof
(
char
*
)
*
3
);
int
argc
=
2
;
GError
*
err
=
NULL
;
argv
[
0
]
=
argv0
;
argv
[
1
]
=
argv1
;
argv
[
2
]
=
NULL
;
g_thread_impl_init
();
inited
=
gst_init_check
(
&
argc
,
&
argv
,
&
err
);
HeapFree
(
GetProcessHeap
(),
0
,
argv
);
if
(
err
)
{
FIXME
(
"Failed to initialize gstreamer: %s
\n
"
,
err
->
message
);
g_error_free
(
err
);
}
}
return
inited
;
}
#define INF_SET_ID(id) \
do \
{ \
...
...
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