GNOME Bugzilla – Bug 545247
use g_setenv() insteed of setenv() in sdlvideosink.c
Last modified: 2008-08-02 17:16:23 UTC
Please describe the problem: sdlvideosink.c will not compile under mingw as setenv/unsetenv are not defined in mingw's stdlib.h Steps to reproduce: Actual results: Expected results: Does this happen every time? Other information: suggest using Glib's g_setenv() and g_unsetenv() insteed
Created attachment 115467 [details] [review] use g_setenv/g_unsetenv
2008-08-02 Sebastian Dröge <sebastian.droege@collabora.co.uk> Patch by: Tal Shalif <tshalif at nargila dot org> * ext/sdl/sdlvideosink.c: (gst_sdlvideosink_initsdl): Use g_setenv() and g_unsetenv() instead of setenv() to fix compilation with mingw. Fixes bug #545247.