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
c3832510
Commit
c3832510
authored
Mar 14, 2020
by
Zebediah Figura
Committed by
Alexandre Julliard
Mar 16, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wineqtdecoder: Fix compilation.
Partially written by Alistair Leslie-Hughes. Signed-off-by:
Zebediah Figura
<
z.figura12@gmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
5ba1c596
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
6 deletions
+7
-6
qtvdecoder.c
dlls/wineqtdecoder/qtvdecoder.c
+7
-6
No files found.
dlls/wineqtdecoder/qtvdecoder.c
View file @
c3832510
...
...
@@ -128,8 +128,6 @@
#include "qtprivate.h"
#include "wineqtdecoder_classes.h"
extern
CLSID
CLSID_QTVDecoder
;
WINE_DEFAULT_DEBUG_CHANNEL
(
qtdecoder
);
typedef
struct
QTVDecoderImpl
...
...
@@ -137,6 +135,8 @@ typedef struct QTVDecoderImpl
struct
strmbase_filter
filter
;
CRITICAL_SECTION
stream_cs
;
AM_MEDIA_TYPE
mt
;
struct
strmbase_source
source
;
IUnknown
*
seeking
;
...
...
@@ -266,7 +266,7 @@ error:
This
->
decodeHR
=
hr
;
}
static
HRESULT
WINAPI
video_decoder_Receive
(
struct
strmbase_sink
*
iface
,
IMediaSample
*
pSample
)
static
HRESULT
WINAPI
video_decoder_
sink_
Receive
(
struct
strmbase_sink
*
iface
,
IMediaSample
*
pSample
)
{
QTVDecoderImpl
*
This
=
impl_from_strmbase_filter
(
iface
->
pin
.
filter
);
HRESULT
hr
;
...
...
@@ -504,7 +504,7 @@ static HRESULT video_decoder_source_get_media_type(struct strmbase_pin *iface,
return
S_OK
;
}
static
HRESULT
WINAPI
video_decoder_DecideBufferSize
(
struct
strmbase_source
*
iface
,
static
HRESULT
WINAPI
video_decoder_
source_
DecideBufferSize
(
struct
strmbase_source
*
iface
,
IMemAllocator
*
pAlloc
,
ALLOCATOR_PROPERTIES
*
ppropInputRequest
)
{
QTVDecoderImpl
*
This
=
impl_from_strmbase_filter
(
iface
->
pin
.
filter
);
...
...
@@ -590,7 +590,7 @@ static HRESULT video_decoder_init_stream(struct strmbase_filter *iface)
static
HRESULT
video_decoder_cleanup_stream
(
struct
strmbase_filter
*
iface
)
{
QTVDecoderImpl
*
This
=
impl_from_
TransformFilter
(
pTransformFilter
);
QTVDecoderImpl
*
This
=
impl_from_
strmbase_filter
(
iface
);
if
(
This
->
decompressionSession
)
ICMDecompressionSessionRelease
(
This
->
decompressionSession
);
...
...
@@ -611,6 +611,7 @@ HRESULT video_decoder_create(IUnknown *outer, IUnknown **out)
{
QTVDecoderImpl
*
object
;
HRESULT
hr
;
ISeekingPassThru
*
passthrough
;
if
(
!
(
object
=
calloc
(
1
,
sizeof
(
*
object
))))
return
E_OUTOFMEMORY
;
...
...
@@ -640,6 +641,6 @@ HRESULT video_decoder_create(IUnknown *outer, IUnknown **out)
ISeekingPassThru_Release
(
passthrough
);
TRACE
(
"Created video decoder %p.
\n
"
,
object
);
*
out
=
&
object
->
tf
.
filter
.
IUnknown_inner
;
*
out
=
&
object
->
filter
.
IUnknown_inner
;
return
S_OK
;
}
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