GNOME Bugzilla – Bug 583318
Assertion from within playbin2
Last modified: 2009-05-27 14:14:22 UTC
Sometimes on quitting Totem I get: (gdb) bt
+ Trace 215621
This happens when totem queries the volume after setting playbin2 to NULL. playsink cached a pointer to the element providing the volume property, but by setting playbin2 to NULL, the autoaudiosink was set to NULL too, and the volume element no longer exists. Not sure whether this indicates that playbin2 wouldn't properly set/query the volume if set back to READY, or if it will regenerate the audiosink chain properly and work again. Either way, it probably needs to invalidate the volume property when deactivating the audiosink, and query for it again when reactivating things.
I could not reproduce it but this should hopefully fix it: commit de06a6adb5d34990e2306d1006e2ff00a5a0e41c Author: Wim Taymans <wim.taymans@collabora.co.uk> Date: Wed May 27 15:36:51 2009 +0200 playbin2; release refs to volume/mute properties Release the refs to the volume and mute property elemens before setting the child elements to READY or NULL. Fixes #583318
Hopefully it will re-discover the 'direct-volume' elements correctly if the state is set back to PAUSED/PLAYING again?