Commit 68e45dd4 authored by Hadrien Boizard's avatar Hadrien Boizard Committed by Alexandre Julliard

winegstreamer: Use BOOL type where appropriate.

parent 09a401e2
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment