The law would have made it illegal to film a police officer within eight feet of where police activity was occurring