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
2c9875e4
Commit
2c9875e4
authored
Apr 05, 2011
by
Aric Stewart
Committed by
Alexandre Julliard
Apr 06, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wineqtdecoder: Work to add a QuickTime video Splitter.
parent
0a7b9949
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
50 additions
and
0 deletions
+50
-0
Makefile.in
dlls/wineqtdecoder/Makefile.in
+1
-0
main.c
dlls/wineqtdecoder/main.c
+49
-0
qtsplitter.c
dlls/wineqtdecoder/qtsplitter.c
+0
-0
No files found.
dlls/wineqtdecoder/Makefile.in
View file @
2c9875e4
...
@@ -5,6 +5,7 @@ EXTRALIBS = @QUICKTIMELIB@
...
@@ -5,6 +5,7 @@ EXTRALIBS = @QUICKTIMELIB@
C_SRCS
=
\
C_SRCS
=
\
main.c
\
main.c
\
qtdatahandler.c
\
qtdatahandler.c
\
qtsplitter.c
\
qtutils.c
\
qtutils.c
\
qtvdecoder.c
qtvdecoder.c
...
...
dlls/wineqtdecoder/main.c
View file @
2c9875e4
...
@@ -41,17 +41,25 @@
...
@@ -41,17 +41,25 @@
#include "initguid.h"
#include "initguid.h"
DEFINE_GUID
(
CLSID_QTVDecoder
,
0x683DDACB
,
0x4354
,
0x490C
,
0xA0
,
0x58
,
0xE0
,
0x5A
,
0xD0
,
0xF2
,
0x05
,
0x37
);
DEFINE_GUID
(
CLSID_QTVDecoder
,
0x683DDACB
,
0x4354
,
0x490C
,
0xA0
,
0x58
,
0xE0
,
0x5A
,
0xD0
,
0xF2
,
0x05
,
0x37
);
DEFINE_GUID
(
CLSID_QTSplitter
,
0xD0E70E49
,
0x5927
,
0x4894
,
0xA3
,
0x86
,
0x35
,
0x94
,
0x60
,
0xEE
,
0x87
,
0xC9
);
WINE_DEFAULT_DEBUG_CHANNEL
(
qtdecoder
);
WINE_DEFAULT_DEBUG_CHANNEL
(
qtdecoder
);
extern
IUnknown
*
CALLBACK
QTVDecoder_create
(
IUnknown
*
pUnkOuter
,
HRESULT
*
phr
);
extern
IUnknown
*
CALLBACK
QTVDecoder_create
(
IUnknown
*
pUnkOuter
,
HRESULT
*
phr
);
extern
IUnknown
*
CALLBACK
QTSplitter_create
(
IUnknown
*
pUnkOuter
,
HRESULT
*
phr
);
static
const
WCHAR
wQTVName
[]
=
static
const
WCHAR
wQTVName
[]
=
{
'Q'
,
'T'
,
' '
,
'V'
,
'i'
,
'd'
,
'e'
,
'o'
,
' '
,
'D'
,
'e'
,
'c'
,
'o'
,
'd'
,
'e'
,
'r'
,
0
};
{
'Q'
,
'T'
,
' '
,
'V'
,
'i'
,
'd'
,
'e'
,
'o'
,
' '
,
'D'
,
'e'
,
'c'
,
'o'
,
'd'
,
'e'
,
'r'
,
0
};
static
const
WCHAR
wQTDName
[]
=
{
'Q'
,
'T'
,
' '
,
'V'
,
'i'
,
'd'
,
'e'
,
'o'
,
' '
,
'D'
,
'e'
,
'm'
,
'u'
,
'x'
,
0
};
static
WCHAR
wNull
[]
=
{
'\0'
};
static
WCHAR
wNull
[]
=
{
'\0'
};
static
const
AMOVIESETUP_MEDIATYPE
amfMTvideo
[]
=
static
const
AMOVIESETUP_MEDIATYPE
amfMTvideo
[]
=
{
{
&
MEDIATYPE_Video
,
&
MEDIASUBTYPE_NULL
}
};
{
{
&
MEDIATYPE_Video
,
&
MEDIASUBTYPE_NULL
}
};
static
const
AMOVIESETUP_MEDIATYPE
amfMTaudio
[]
=
{
{
&
MEDIATYPE_Audio
,
&
MEDIASUBTYPE_NULL
}
};
static
const
AMOVIESETUP_MEDIATYPE
amfMTstream
[]
=
{
{
&
MEDIATYPE_Stream
,
&
MEDIASUBTYPE_NULL
}
};
static
const
AMOVIESETUP_PIN
amfQTVPin
[]
=
static
const
AMOVIESETUP_PIN
amfQTVPin
[]
=
{
{
wNull
,
{
{
wNull
,
...
@@ -71,6 +79,32 @@ static const AMOVIESETUP_PIN amfQTVPin[] =
...
@@ -71,6 +79,32 @@ static const AMOVIESETUP_PIN amfQTVPin[] =
},
},
};
};
static
const
AMOVIESETUP_PIN
amfQTDPin
[]
=
{
{
wNull
,
FALSE
,
FALSE
,
FALSE
,
FALSE
,
&
GUID_NULL
,
NULL
,
1
,
amfMTstream
},
{
wNull
,
FALSE
,
TRUE
,
TRUE
,
FALSE
,
&
GUID_NULL
,
NULL
,
1
,
amfMTvideo
},
{
wNull
,
FALSE
,
TRUE
,
TRUE
,
FALSE
,
&
GUID_NULL
,
NULL
,
1
,
amfMTaudio
},
};
static
const
AMOVIESETUP_FILTER
amfQTV
=
static
const
AMOVIESETUP_FILTER
amfQTV
=
{
&
CLSID_QTVDecoder
,
{
&
CLSID_QTVDecoder
,
wQTVName
,
wQTVName
,
...
@@ -79,6 +113,14 @@ static const AMOVIESETUP_FILTER amfQTV =
...
@@ -79,6 +113,14 @@ static const AMOVIESETUP_FILTER amfQTV =
amfQTVPin
amfQTVPin
};
};
static
const
AMOVIESETUP_FILTER
amfQTD
=
{
&
CLSID_QTSplitter
,
wQTDName
,
MERIT_NORMAL
,
3
,
amfQTDPin
};
FactoryTemplate
const
g_Templates
[]
=
{
FactoryTemplate
const
g_Templates
[]
=
{
{
{
wQTVName
,
wQTVName
,
...
@@ -86,6 +128,13 @@ FactoryTemplate const g_Templates[] = {
...
@@ -86,6 +128,13 @@ FactoryTemplate const g_Templates[] = {
QTVDecoder_create
,
QTVDecoder_create
,
NULL
,
NULL
,
&
amfQTV
,
&
amfQTV
,
},
{
wQTDName
,
&
CLSID_QTSplitter
,
QTSplitter_create
,
NULL
,
&
amfQTD
,
}
}
};
};
...
...
dlls/wineqtdecoder/qtsplitter.c
0 → 100644
View file @
2c9875e4
This diff is collapsed.
Click to expand it.
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