Hadrien Boizard : winegstreamer: Use BOOL type where appropriate.
Alexandre Julliard
julliard at winehq.org
Thu Jun 2 10:49:59 CDT 2016
Module: wine
Branch: master
Commit: 68e45dd4d0021bff92fb26951fd30b4828558ba2
URL: http://source.winehq.org/git/wine.git/?a=commit;h=68e45dd4d0021bff92fb26951fd30b4828558ba2
Author: Hadrien Boizard <h.boizard at laposte.net>
Date: Tue May 31 17:41:33 2016 +0200
winegstreamer: Use BOOL type where appropriate.
Signed-off-by: Hadrien Boizard <h.boizard at laposte.net>
Signed-off-by: Andrew Eikum <aeikum at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
dlls/winegstreamer/gstdemux.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/dlls/winegstreamer/gstdemux.c b/dlls/winegstreamer/gstdemux.c
index d71225d..92804e3 100644
--- a/dlls/winegstreamer/gstdemux.c
+++ b/dlls/winegstreamer/gstdemux.c
@@ -84,7 +84,7 @@ struct GSTOutPin {
GstPad *their_src;
GstPad *my_sink;
GstBufferPool *gstpool;
- int isaud, isvid;
+ BOOL isaud, isvid;
AM_MEDIA_TYPE * pmt;
HANDLE caps_event;
GstSegment *segment;
@@ -783,7 +783,7 @@ static void init_new_decoded_pad(GstElement *bin, GstPad *pad, GSTImpl *This)
GstPad *mypad;
GSTOutPin *pin;
int ret;
- int isvid = 0, isaud = 0;
+ BOOL isvid = FALSE, isaud = FALSE;
gchar my_name[1024];
TRACE("%p %p %p\n", This, bin, pad);
@@ -809,9 +809,9 @@ static void init_new_decoded_pad(GstElement *bin, GstPad *pad, GSTImpl *This)
gst_pad_set_query_function(mypad, query_sink_wrapper);
if (!strcmp(typename, "audio/x-raw")) {
- isaud = 1;
+ isaud = TRUE;
} else if (!strcmp(typename, "video/x-raw")) {
- isvid = 1;
+ isvid = TRUE;
} else {
FIXME("Unknown type \'%s\'\n", typename);
return;
More information about the wine-cvs
mailing list