diff options
author | Andrew Andkjar <enki@goodship.net> | 2006-08-29 12:07:38 +0000 |
---|---|---|
committer | Tim-Philipp Müller <tim@centricular.net> | 2006-08-29 12:07:38 +0000 |
commit | ef178aabf965c0cc8722f07267f478e58c1f2a5e (patch) | |
tree | 507e0d00d61d1ba38d579ff10d3edf4b95957191 /ext/sdl/sdlaudiosink.c | |
parent | d83b0ef58d4f37a1eb99e7212e637778fa72c39e (diff) | |
download | gst-plugins-bad-ef178aabf965c0cc8722f07267f478e58c1f2a5e.tar.gz gst-plugins-bad-ef178aabf965c0cc8722f07267f478e58c1f2a5e.tar.bz2 gst-plugins-bad-ef178aabf965c0cc8722f07267f478e58c1f2a5e.zip |
ext/sdl/: Only de-init the subsystem we previously initialised. Avoids borkage when both sdlvideosink and sdlaudiosin...
Original commit message from CVS:
Patch by: Andrew Andkjar <enki at goodship net>
* ext/sdl/sdlaudiosink.c: (gst_sdlaudio_sink_close):
* ext/sdl/sdlvideosink.c: (gst_sdlvideosink_supported),
(gst_sdlvideosink_deinitsdl):
Only de-init the subsystem we previously initialised. Avoids
borkage when both sdlvideosink and sdlaudiosink are used
at the same time and one is shut down.
Diffstat (limited to 'ext/sdl/sdlaudiosink.c')
-rw-r--r-- | ext/sdl/sdlaudiosink.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/sdl/sdlaudiosink.c b/ext/sdl/sdlaudiosink.c index fb97c435..85bcd4d2 100644 --- a/ext/sdl/sdlaudiosink.c +++ b/ext/sdl/sdlaudiosink.c @@ -284,7 +284,7 @@ gst_sdlaudio_sink_close (GstAudioSink * asink) sdlaudio->eos = TRUE; SEMAPHORE_UP (sdlaudio->semA); SEMAPHORE_UP (sdlaudio->semB); - SDL_Quit (); + SDL_QuitSubSystem (SDL_INIT_AUDIO); return TRUE; } |