Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-fonts
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
Aleksandr Isakov
wine-fonts
Commits
a2916f3a
Commit
a2916f3a
authored
Oct 26, 2010
by
Aric Stewart
Committed by
Alexandre Julliard
Oct 27, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winegstreamer: Add gstreamer splitter filter.
parent
ae7d41bf
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
65 additions
and
2 deletions
+65
-2
Makefile.in
dlls/winegstreamer/Makefile.in
+1
-0
gst_guids.h
dlls/winegstreamer/gst_guids.h
+1
-0
gst_private.h
dlls/winegstreamer/gst_private.h
+4
-0
gstdemux.c
dlls/winegstreamer/gstdemux.c
+0
-0
main.c
dlls/winegstreamer/main.c
+59
-2
No files found.
dlls/winegstreamer/Makefile.in
View file @
a2916f3a
...
...
@@ -5,6 +5,7 @@ EXTRALIBS = @GSTREAMER_LIBS@ @LIBPTHREAD@
C_SRCS
=
\
glibthread.c
\
gstdemux.c
\
main.c
RC_SRCS
=
\
...
...
dlls/winegstreamer/gst_guids.h
View file @
a2916f3a
...
...
@@ -22,4 +22,5 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
DEFINE_GUID
(
CLSID_Gstreamer_Splitter
,
0xf9d8d64e
,
0xa144
,
0x47dc
,
0x8e
,
0xe0
,
0xf5
,
0x34
,
0x98
,
0x37
,
0x2c
,
0x29
);
DEFINE_GUID
(
WINESUBTYPE_Gstreamer
,
0xffffffff
,
0x128f
,
0x4dd1
,
0xad
,
0x22
,
0xbe
,
0xcf
,
0xa6
,
0x6c
,
0xe7
,
0xaa
);
dlls/winegstreamer/gst_private.h
View file @
a2916f3a
...
...
@@ -35,9 +35,13 @@
#include "strmif.h"
#include "wine/strmbase.h"
#define MEDIATIME_FROM_BYTES(x) ((LONGLONG)(x) * 10000000)
/* enum media */
void
dump_AM_MEDIA_TYPE
(
const
AM_MEDIA_TYPE
*
pmt
);
IUnknown
*
CALLBACK
Gstreamer_Splitter_create
(
IUnknown
*
pUnkOuter
,
HRESULT
*
phr
);
void
g_thread_impl_init
(
void
);
DWORD
Gstreamer_init
(
void
);
#endif
/* __GST_PRIVATE_INCLUDED__ */
dlls/winegstreamer/gstdemux.c
0 → 100644
View file @
a2916f3a
This diff is collapsed.
Click to expand it.
dlls/winegstreamer/main.c
View file @
a2916f3a
...
...
@@ -26,7 +26,6 @@
#include <gst/app/gstappsrc.h>
#include <gst/app/gstappbuffer.h>
#include "initguid.h"
#include "windef.h"
#include "winbase.h"
#include "winuser.h"
...
...
@@ -37,16 +36,74 @@
#include "wine/unicode.h"
#include "gst_private.h"
#include "initguid.h"
#include "gst_guids.h"
static
HINSTANCE
hInst
=
NULL
;
WINE_DEFAULT_DEBUG_CHANNEL
(
gstreamer
);
static
const
WCHAR
wGstreamer_Splitter
[]
=
{
'G'
,
'S'
,
't'
,
'r'
,
'e'
,
'a'
,
'm'
,
'e'
,
'r'
,
' '
,
's'
,
'p'
,
'l'
,
'i'
,
't'
,
't'
,
'e'
,
'r'
,
' '
,
'f'
,
'i'
,
'l'
,
't'
,
'e'
,
'r'
,
0
};
static
WCHAR
wNull
[]
=
{
'\0'
};
static
const
AMOVIESETUP_MEDIATYPE
amfMTstream
[]
=
{
{
&
MEDIATYPE_Stream
,
&
WINESUBTYPE_Gstreamer
},
{
&
MEDIATYPE_Stream
,
&
MEDIASUBTYPE_NULL
},
};
static
const
AMOVIESETUP_MEDIATYPE
amfMTaudio
[]
=
{
{
&
MEDIATYPE_Audio
,
&
MEDIASUBTYPE_NULL
}
};
static
const
AMOVIESETUP_MEDIATYPE
amfMTvideo
[]
=
{
{
&
MEDIATYPE_Video
,
&
MEDIASUBTYPE_NULL
}
};
static
const
AMOVIESETUP_PIN
amfSplitPin
[]
=
{
{
wNull
,
FALSE
,
FALSE
,
FALSE
,
FALSE
,
&
GUID_NULL
,
NULL
,
2
,
amfMTstream
},
{
wNull
,
FALSE
,
TRUE
,
FALSE
,
FALSE
,
&
GUID_NULL
,
NULL
,
1
,
amfMTaudio
},
{
wNull
,
FALSE
,
TRUE
,
FALSE
,
FALSE
,
&
GUID_NULL
,
NULL
,
1
,
amfMTvideo
}
};
static
const
AMOVIESETUP_FILTER
amfSplitter
=
{
&
CLSID_Gstreamer_Splitter
,
wGstreamer_Splitter
,
MERIT_PREFERRED
,
3
,
amfSplitPin
};
FactoryTemplate
const
g_Templates
[]
=
{
{
wGstreamer_Splitter
,
&
CLSID_Gstreamer_Splitter
,
Gstreamer_Splitter_create
,
NULL
,
&
amfSplitter
,
},
};
const
int
g_cTemplates
=
0
;
const
int
g_cTemplates
=
sizeof
(
g_Templates
)
/
sizeof
(
g_Templates
[
0
])
;
BOOL
WINAPI
DllMain
(
HINSTANCE
hInstDLL
,
DWORD
fdwReason
,
LPVOID
lpv
)
{
...
...
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