stream-restore: Clear the save_sink/save_source flags on apply_entry.
authorColin Guthrie <cguthrie@mandriva.org>
Fri, 5 Feb 2010 00:15:38 +0000 (00:15 +0000)
committerColin Guthrie <cguthrie@mandriva.org>
Fri, 5 Feb 2010 15:12:19 +0000 (15:12 +0000)
commit6fd2d087585b33dce918e857e9f2635862a0746c
tree70a89d1dabae4bb8f5f48324aa7b555365cf0da9
parent2f86ba4fc22901b4aa5e0b4029d3b80f3feb0a91
stream-restore: Clear the save_sink/save_source flags on apply_entry.

If the user specifically removes the device element from the stream
restore rule, we have to clear the save_sink/save_source flag of the
stream. This means that other stream routing systems
(e.g. module-device-manager) can take over routing for this
stream. In order to facilitate the reapplication of other routing
rules, we fire a stream change event. Arguably the stream itself
has not changed, but the rules governing its routing have, so
I feel this is justified.
src/modules/module-stream-restore.c