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
21c5627e
Commit
21c5627e
authored
Oct 20, 2023
by
Alfred Agrell
Committed by
Alexandre Julliard
Nov 01, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winegstreamer: Implement parts of IAMStreamSelect::Info in CLSID_MPEG1Splitter.
parent
fae39cf5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
35 additions
and
3 deletions
+35
-3
quartz_parser.c
dlls/winegstreamer/quartz_parser.c
+35
-3
No files found.
dlls/winegstreamer/quartz_parser.c
View file @
21c5627e
...
...
@@ -1526,9 +1526,41 @@ static HRESULT WINAPI stream_select_Info(IAMStreamSelect *iface, LONG index,
AM_MEDIA_TYPE
**
mt
,
DWORD
*
flags
,
LCID
*
lcid
,
DWORD
*
group
,
WCHAR
**
name
,
IUnknown
**
object
,
IUnknown
**
unknown
)
{
FIXME
(
"iface %p, index %ld, mt %p, flags %p, lcid %p, group %p, name %p, object %p, unknown %p, stub!
\n
"
,
iface
,
index
,
mt
,
flags
,
lcid
,
group
,
name
,
object
,
unknown
);
return
E_NOTIMPL
;
struct
parser
*
filter
=
impl_from_IAMStreamSelect
(
iface
);
HRESULT
hr
=
S_OK
;
FIXME
(
"filter %p, index %ld, mt %p, flags %p, lcid %p, group %p, name %p, object %p, unknown %p, semi-stub!
\n
"
,
filter
,
index
,
mt
,
flags
,
lcid
,
group
,
name
,
object
,
unknown
);
EnterCriticalSection
(
&
filter
->
filter
.
filter_cs
);
if
(
!
filter
->
sink
.
pin
.
peer
)
{
LeaveCriticalSection
(
&
filter
->
filter
.
filter_cs
);
return
VFW_E_NOT_CONNECTED
;
}
if
(
index
<
0
||
index
>=
filter
->
source_count
)
{
LeaveCriticalSection
(
&
filter
->
filter
.
filter_cs
);
return
S_FALSE
;
}
if
(
mt
)
*
mt
=
CreateMediaType
(
&
filter
->
sources
[
index
]
->
pin
.
pin
.
mt
);
if
(
flags
)
/* todo */
*
flags
=
0
;
if
(
lcid
)
/* todo */
*
lcid
=
0
;
if
(
group
)
/* todo */
*
group
=
0
;
if
(
name
)
/* todo */
*
name
=
NULL
;
if
(
object
)
/* todo */
*
object
=
NULL
;
if
(
unknown
)
*
unknown
=
NULL
;
LeaveCriticalSection
(
&
filter
->
filter
.
filter_cs
);
return
hr
;
}
static
HRESULT
WINAPI
stream_select_Enable
(
IAMStreamSelect
*
iface
,
LONG
index
,
DWORD
flags
)
...
...
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