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.
This commit is contained in:
Tim-Philipp Müller 2007-06-06 08:06:44 +00:00
parent 86cf2a601a
commit 23c17776e7
3 changed files with 9 additions and 2 deletions

View file

@ -1,3 +1,10 @@
2007-06-06 Tim-Philipp Müller <tim at centricular dot net>
* 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 <wim@fluendo.com> 2007-06-01 Wim Taymans <wim@fluendo.com>
* docs/plugins/Makefile.am: * docs/plugins/Makefile.am:

View file

@ -5,7 +5,7 @@ libgstsdl_la_SOURCES = \
sdlvideosink.c \ sdlvideosink.c \
sdlaudiosink.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) \ libgstsdl_la_LIBADD = $(GST_PLUGINS_BASE_LIBS) \
-lgstvideo-$(GST_MAJORMINOR) \ -lgstvideo-$(GST_MAJORMINOR) \
-lgstaudio-$(GST_MAJORMINOR) \ -lgstaudio-$(GST_MAJORMINOR) \

View file

@ -496,7 +496,7 @@ gst_sdlv_process_events (GstSDLVideoSink * sdlvideosink)
{ {
SDL_Event event; SDL_Event event;
int numevents; int numevents;
char *keysym; char *keysym = NULL;
do { do {
SDL_PumpEvents (); SDL_PumpEvents ();