When a photo is taken without effects, the stream is already encoded and
goes through passtrhough in encodebin, without applying the restriction.
The resolution is now defined also in the encoded caps to make photos
taken without effects applied to have the right resolution.