Attempt to prevent a deadlock if audio is full and video empty (or vice versa).