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
19df4f02
Commit
19df4f02
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: Check for unexpected format change in wg_transform_read helpers.
parent
024eef22
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
8 additions
and
14 deletions
+8
-14
color_convert.c
dlls/winegstreamer/color_convert.c
+0
-3
quartz_transform.c
dlls/winegstreamer/quartz_transform.c
+0
-2
resampler.c
dlls/winegstreamer/resampler.c
+0
-3
video_processor.c
dlls/winegstreamer/video_processor.c
+0
-3
wg_sample.c
dlls/winegstreamer/wg_sample.c
+8
-0
wma_decoder.c
dlls/winegstreamer/wma_decoder.c
+0
-3
No files found.
dlls/winegstreamer/color_convert.c
View file @
19df4f02
...
...
@@ -601,9 +601,6 @@ static HRESULT WINAPI transform_ProcessOutput(IMFTransform *iface, DWORD flags,
wg_sample_release
(
wg_sample
);
if
(
hr
==
MF_E_TRANSFORM_STREAM_CHANGE
)
FIXME
(
"Unexpected stream format change!
\n
"
);
return
hr
;
}
...
...
dlls/winegstreamer/quartz_transform.c
View file @
19df4f02
...
...
@@ -342,8 +342,6 @@ static HRESULT WINAPI transform_sink_receive(struct strmbase_sink *pin, IMediaSa
}
if
(
FAILED
(
hr
))
{
if
(
hr
==
MF_E_TRANSFORM_STREAM_CHANGE
)
FIXME
(
"Unexpected stream format change!
\n
"
);
IMediaSample_Release
(
output_sample
);
return
hr
;
}
...
...
dlls/winegstreamer/resampler.c
View file @
19df4f02
...
...
@@ -571,9 +571,6 @@ static HRESULT WINAPI transform_ProcessOutput(IMFTransform *iface, DWORD flags,
wg_sample_release
(
wg_sample
);
if
(
hr
==
MF_E_TRANSFORM_STREAM_CHANGE
)
FIXME
(
"Unexpected stream format change!
\n
"
);
return
hr
;
}
...
...
dlls/winegstreamer/video_processor.c
View file @
19df4f02
...
...
@@ -577,9 +577,6 @@ static HRESULT WINAPI video_processor_ProcessOutput(IMFTransform *iface, DWORD f
wg_sample_release
(
wg_sample
);
if
(
hr
==
MF_E_TRANSFORM_STREAM_CHANGE
)
FIXME
(
"Unexpected stream format change!
\n
"
);
return
hr
;
}
...
...
dlls/winegstreamer/wg_sample.c
View file @
19df4f02
...
...
@@ -291,7 +291,11 @@ HRESULT wg_transform_read_mf(struct wg_transform *transform, struct wg_sample *w
TRACE_
(
mfplat
)(
"transform %p, wg_sample %p, format %p, flags %p.
\n
"
,
transform
,
wg_sample
,
format
,
flags
);
if
(
FAILED
(
hr
=
wg_transform_read_data
(
transform
,
wg_sample
,
format
)))
{
if
(
hr
==
MF_E_TRANSFORM_STREAM_CHANGE
&&
!
format
)
FIXME
(
"Unexpected stream format change!
\n
"
);
return
hr
;
}
if
(
FAILED
(
hr
=
IMFMediaBuffer_SetCurrentLength
(
sample
->
u
.
mf
.
buffer
,
wg_sample
->
size
)))
return
hr
;
...
...
@@ -349,7 +353,11 @@ HRESULT wg_transform_read_quartz(struct wg_transform *transform, struct wg_sampl
TRACE_
(
mfplat
)(
"transform %p, wg_sample %p.
\n
"
,
transform
,
wg_sample
);
if
(
FAILED
(
hr
=
wg_transform_read_data
(
transform
,
wg_sample
,
NULL
)))
{
if
(
hr
==
MF_E_TRANSFORM_STREAM_CHANGE
)
FIXME
(
"Unexpected stream format change!
\n
"
);
return
hr
;
}
if
(
FAILED
(
hr
=
IMediaSample_SetActualDataLength
(
sample
->
u
.
quartz
.
sample
,
wg_sample
->
size
)))
return
hr
;
...
...
dlls/winegstreamer/wma_decoder.c
View file @
19df4f02
...
...
@@ -597,9 +597,6 @@ static HRESULT WINAPI transform_ProcessOutput(IMFTransform *iface, DWORD flags,
wg_sample_release
(
wg_sample
);
if
(
hr
==
MF_E_TRANSFORM_STREAM_CHANGE
)
FIXME
(
"Unexpected stream format change!
\n
"
);
return
hr
;
}
...
...
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