Mark Salling Comeback Role in Jeopardy ... Following Child Porn Arrest

EXCLUSIVE

1230-mark-salling-tmz-01Mark Salling's first post-"Glee" movie has wrapped, but his performance may never see the light of day ... because producers are already considering cutting him from the film.

Salling is set to appear in the movie "Adi Shankar's Gods and Secrets," where he plays a villain.

We're told producers of the film will release a statement this morning saying they'll take a "wait and see" approach following his arrest Tuesday for possession of child porn.

But behind the scenes, we're told they're freaked out and already talking about cutting him out of the movie and recasting the role. 

For what it's worth ... we're told Salling was super good and brilliantly pulled off a crying scene.