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
32c748e1
Commit
32c748e1
authored
Jun 06, 2023
by
Rémi Bernon
Committed by
Alexandre Julliard
Jun 28, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winegstreamer: Remove unused props from create_object_context.
parent
9742fe89
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
9 deletions
+3
-9
media_source.c
dlls/winegstreamer/media_source.c
+3
-9
No files found.
dlls/winegstreamer/media_source.c
View file @
32c748e1
...
...
@@ -1778,7 +1778,6 @@ struct create_object_context
IUnknown
IUnknown_iface
;
LONG
refcount
;
IPropertyStore
*
props
;
IMFByteStream
*
stream
;
WCHAR
*
url
;
DWORD
flags
;
...
...
@@ -1824,8 +1823,6 @@ static ULONG WINAPI create_object_context_Release(IUnknown *iface)
if
(
!
refcount
)
{
if
(
context
->
props
)
IPropertyStore_Release
(
context
->
props
);
if
(
context
->
stream
)
IMFByteStream_Release
(
context
->
stream
);
free
(
context
->
url
);
...
...
@@ -1866,9 +1863,6 @@ static HRESULT WINAPI stream_handler_BeginCreateObject(IMFByteStreamHandler *ifa
context
->
IUnknown_iface
.
lpVtbl
=
&
create_object_context_vtbl
;
context
->
refcount
=
1
;
context
->
props
=
props
;
if
(
context
->
props
)
IPropertyStore_AddRef
(
context
->
props
);
context
->
flags
=
flags
;
context
->
stream
=
stream
;
if
(
context
->
stream
)
...
...
@@ -1991,9 +1985,9 @@ static HRESULT WINAPI stream_handler_callback_GetParameters(IMFAsyncCallback *if
}
static
HRESULT
stream_handler_create_object
(
struct
stream_handler
*
handler
,
WCHAR
*
url
,
IMFByteStream
*
stream
,
DWORD
flags
,
I
PropertyStore
*
props
,
I
Unknown
**
out_object
,
MF_OBJECT_TYPE
*
out_obj_type
)
IUnknown
**
out_object
,
MF_OBJECT_TYPE
*
out_obj_type
)
{
TRACE
(
"%p, %s, %p, %#lx, %p, %p
, %p.
\n
"
,
handler
,
debugstr_w
(
url
),
stream
,
flags
,
prop
s
,
out_object
,
out_obj_type
);
TRACE
(
"%p, %s, %p, %#lx, %p, %p
.
\n
"
,
handler
,
debugstr_w
(
url
),
stream
,
flag
s
,
out_object
,
out_obj_type
);
if
(
flags
&
MF_RESOLUTION_MEDIASOURCE
)
{
...
...
@@ -2038,7 +2032,7 @@ static HRESULT WINAPI stream_handler_callback_Invoke(IMFAsyncCallback *iface, IM
context
=
impl_from_IUnknown
(
context_object
);
if
(
FAILED
(
hr
=
stream_handler_create_object
(
handler
,
context
->
url
,
context
->
stream
,
context
->
flags
,
context
->
props
,
&
object
,
&
obj_type
)))
context
->
flags
,
&
object
,
&
obj_type
)))
WARN
(
"Failed to create object, hr %#lx
\n
"
,
hr
);
else
{
...
...
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