PulseAudio: update existing item rather than delete and replace
authorRémi Denis-Courmont <remi@remlab.net>
Sun, 18 Mar 2012 17:53:39 +0000 (19:53 +0200)
committerRémi Denis-Courmont <remi@remlab.net>
Sun, 18 Mar 2012 17:55:14 +0000 (19:55 +0200)
commit5678c1900b38babcbdf453fcbf3ee4f9a863e594
treeab66bd9d0592a03885419ba9a070264790335e77
parent6707159eedaf6cd9b2a62df0b48cbe9acecf9d37
PulseAudio: update existing item rather than delete and replace

This avoids the infamous VLC playlist bug whereby the playlist stops if
the current item is deleted. It turns out PulseAudio tends to "update"
a source right after VLC opens it, and then VLC stopped playing almost
as soon as it started.
modules/services_discovery/pulse.c