compositor: fix crash if pad is removed while being prepared
If the pad is removed but we are still in the prepare_frame(), then a g_list_find(sinkpads, pad) will return NULL. Dereferencing NULL will crash.
Due to an influx of spam, we have had to impose restrictions on new accounts. Please see this wiki page for instructions on how to get full permissions. Sorry for the inconvenience.
If the pad is removed but we are still in the prepare_frame(), then a g_list_find(sinkpads, pad) will return NULL. Dereferencing NULL will crash.