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
77a4b4b4
Commit
77a4b4b4
authored
Sep 14, 2022
by
Rémi Bernon
Committed by
Alexandre Julliard
Sep 15, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winegstreamer: Remove unnecessary IMFTransform_GetInputStreamInfo calls.
parent
2c4fbd15
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
0 additions
and
12 deletions
+0
-12
color_convert.c
dlls/winegstreamer/color_convert.c
+0
-4
h264_decoder.c
dlls/winegstreamer/h264_decoder.c
+0
-4
video_processor.c
dlls/winegstreamer/video_processor.c
+0
-4
No files found.
dlls/winegstreamer/color_convert.c
View file @
77a4b4b4
...
...
@@ -545,14 +545,10 @@ static HRESULT WINAPI transform_ProcessInput(IMFTransform *iface, DWORD id, IMFS
{
struct
color_convert
*
impl
=
impl_from_IMFTransform
(
iface
);
struct
wg_sample
*
wg_sample
;
MFT_INPUT_STREAM_INFO
info
;
HRESULT
hr
;
TRACE
(
"iface %p, id %#lx, sample %p, flags %#lx.
\n
"
,
iface
,
id
,
sample
,
flags
);
if
(
FAILED
(
hr
=
IMFTransform_GetInputStreamInfo
(
iface
,
0
,
&
info
)))
return
hr
;
if
(
!
impl
->
wg_transform
)
return
MF_E_TRANSFORM_TYPE_NOT_SET
;
...
...
dlls/winegstreamer/h264_decoder.c
View file @
77a4b4b4
...
...
@@ -586,14 +586,10 @@ static HRESULT WINAPI transform_ProcessInput(IMFTransform *iface, DWORD id, IMFS
{
struct
h264_decoder
*
decoder
=
impl_from_IMFTransform
(
iface
);
struct
wg_sample
*
wg_sample
;
MFT_INPUT_STREAM_INFO
info
;
HRESULT
hr
;
TRACE
(
"iface %p, id %#lx, sample %p, flags %#lx.
\n
"
,
iface
,
id
,
sample
,
flags
);
if
(
FAILED
(
hr
=
IMFTransform_GetInputStreamInfo
(
iface
,
0
,
&
info
)))
return
hr
;
if
(
!
decoder
->
wg_transform
)
return
MF_E_TRANSFORM_TYPE_NOT_SET
;
...
...
dlls/winegstreamer/video_processor.c
View file @
77a4b4b4
...
...
@@ -522,14 +522,10 @@ static HRESULT WINAPI video_processor_ProcessInput(IMFTransform *iface, DWORD id
{
struct
video_processor
*
impl
=
impl_from_IMFTransform
(
iface
);
struct
wg_sample
*
wg_sample
;
MFT_INPUT_STREAM_INFO
info
;
HRESULT
hr
;
TRACE
(
"iface %p, id %#lx, sample %p, flags %#lx.
\n
"
,
iface
,
id
,
sample
,
flags
);
if
(
FAILED
(
hr
=
IMFTransform_GetInputStreamInfo
(
iface
,
0
,
&
info
)))
return
hr
;
if
(
!
impl
->
wg_transform
)
return
MF_E_TRANSFORM_TYPE_NOT_SET
;
...
...
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