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
afc0803d
Commit
afc0803d
authored
Oct 10, 2013
by
Frédéric Delanoy
Committed by
Alexandre Julliard
Oct 11, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winegstreamer: Use BOOL type where appropriate.
parent
8e7abd00
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
5 deletions
+7
-5
gsttffilter.c
dlls/winegstreamer/gsttffilter.c
+7
-5
No files found.
dlls/winegstreamer/gsttffilter.c
View file @
afc0803d
...
...
@@ -291,7 +291,8 @@ static void Gstreamer_transform_pad_added(GstElement *filter, GstPad *pad, GstTf
static
HRESULT
Gstreamer_transform_ConnectInput
(
GstTfImpl
*
This
,
const
AM_MEDIA_TYPE
*
amt
,
GstCaps
*
capsin
,
GstCaps
*
capsout
)
{
GstIterator
*
it
;
int
done
=
0
,
found
=
0
,
ret
;
BOOL
done
=
FALSE
,
found
=
FALSE
;
int
ret
;
This
->
filter
=
gst_element_factory_make
(
This
->
gstreamer_name
,
NULL
);
if
(
!
This
->
filter
)
{
...
...
@@ -330,7 +331,7 @@ static HRESULT Gstreamer_transform_ConnectInput(GstTfImpl *This, const AM_MEDIA_
This
->
their_sink
=
item
;
case
GST_ITERATOR_ERROR
:
case
GST_ITERATOR_DONE
:
done
=
1
;
done
=
TRUE
;
break
;
}
}
...
...
@@ -342,7 +343,7 @@ static HRESULT Gstreamer_transform_ConnectInput(GstTfImpl *This, const AM_MEDIA_
it
=
gst_element_iterate_src_pads
(
This
->
filter
);
gst_iterator_resync
(
it
);
done
=
0
;
done
=
FALSE
;
while
(
!
done
)
{
gpointer
item
;
...
...
@@ -354,7 +355,7 @@ static HRESULT Gstreamer_transform_ConnectInput(GstTfImpl *This, const AM_MEDIA_
This
->
their_src
=
item
;
case
GST_ITERATOR_ERROR
:
case
GST_ITERATOR_DONE
:
done
=
1
;
done
=
TRUE
;
break
;
}
}
...
...
@@ -733,7 +734,8 @@ static HRESULT WINAPI Gstreamer_AudioConvert_SetMediaType(TransformFilter *tf, P
WAVEFORMATEX
*
outwfe
;
WAVEFORMATEXTENSIBLE
*
outwfx
;
HRESULT
hr
;
int
inisfloat
=
0
,
indepth
;
BOOL
inisfloat
=
FALSE
;
int
indepth
;
if
(
dir
!=
PINDIR_INPUT
)
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