]> git.sesse.net Git - vlc/commit
libvlc_video_set_spu: fix setting to 0 when no SPU is present in the stream
authorJean-Paul Saman <jean-paul.saman@m2x.nl>
Fri, 6 Mar 2009 16:19:13 +0000 (17:19 +0100)
committerJean-Paul Saman <jean-paul.saman@m2x.nl>
Sat, 7 Mar 2009 16:01:28 +0000 (17:01 +0100)
commit326a3a3ce9ad216f1479a1c0fd29c1ae3897e958
treef912839907ee77a85114e840ef134df97b8316e6
parente00d4da82a8326a25f7e1fee378c54a31a2489d1
libvlc_video_set_spu: fix setting to 0 when no SPU is present in the stream

In streams that do not have SPU ES setting spu-es to zero using libvlc_video_set_spu() results in playback being stopped. This is unwanted behaviour against which this patch protects now.
src/control/video.c