]> git.tuebingen.mpg.de Git - paraslash.git/commitdiff
audiod: Avoid starting the wrong decoder on server restarts.
authorAndre Noll <maan@systemlinux.org>
Sat, 19 Dec 2009 15:50:28 +0000 (16:50 +0100)
committerAndre Noll <maan@systemlinux.org>
Sat, 19 Dec 2009 15:50:28 +0000 (16:50 +0100)
If para_server is restarted and starts streaming using another audio format than
the one used before the restart, para_audiod might end up starting the decoder
associated with the old audio format.

Fix this by invalidating current_audio_format_num in close_stat_pipe() which is
called when the server goes away.


No differences found