Fix build when --video is enabled.

Reviewed-by: Trust me.