From: Tim-Philipp Müller Date: Wed, 6 Jun 2007 08:06:44 +0000 (+0000) Subject: ext/sdl/: Add GST_CFLAGS, which apparently somehow fixes the build somewhere (#444499... X-Git-Tag: 1.19.3~507^2~21006 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=23c17776e728b91c237897444cd4b562d15e0cf1;p=platform%2Fupstream%2Fgstreamer.git ext/sdl/: Add GST_CFLAGS, which apparently somehow fixes the build somewhere (#444499); initialise variable to avoid ... Original commit message from CVS: * ext/sdl/Makefile.am: * ext/sdl/sdlvideosink.c: (gst_sdlv_process_events): Add GST_CFLAGS, which apparently somehow fixes the build somewhere (#444499); initialise variable to avoid false compiler warning. --- diff --git a/ChangeLog b/ChangeLog index 75dca30..7923e81 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2007-06-06 Tim-Philipp Müller + + * ext/sdl/Makefile.am: + * ext/sdl/sdlvideosink.c: (gst_sdlv_process_events): + Add GST_CFLAGS, which apparently somehow fixes the build somewhere + (#444499); initialise variable to avoid false compiler warning. + 2007-06-01 Wim Taymans * docs/plugins/Makefile.am: diff --git a/ext/sdl/Makefile.am b/ext/sdl/Makefile.am index 556ad06..51f71a3 100644 --- a/ext/sdl/Makefile.am +++ b/ext/sdl/Makefile.am @@ -5,7 +5,7 @@ libgstsdl_la_SOURCES = \ sdlvideosink.c \ sdlaudiosink.c -libgstsdl_la_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(SDL_CFLAGS) +libgstsdl_la_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_CFLAGS) $(SDL_CFLAGS) libgstsdl_la_LIBADD = $(GST_PLUGINS_BASE_LIBS) \ -lgstvideo-$(GST_MAJORMINOR) \ -lgstaudio-$(GST_MAJORMINOR) \ diff --git a/ext/sdl/sdlvideosink.c b/ext/sdl/sdlvideosink.c index 6c45240..4664c21 100644 --- a/ext/sdl/sdlvideosink.c +++ b/ext/sdl/sdlvideosink.c @@ -496,7 +496,7 @@ gst_sdlv_process_events (GstSDLVideoSink * sdlvideosink) { SDL_Event event; int numevents; - char *keysym; + char *keysym = NULL; do { SDL_PumpEvents ();