rework mask handling to actually work
rework mask handling to actually work

freedesktop-unofficial-mirror/swfdec__swfdec,mltframework/swfdec,mltframework/swfdec,freedesktop-unofficial-mirror/swfdec__swfdec,freedesktop-unofficial-mirror/swfdec__swfdec