If a mix of image and non-image files are selected, no changes are made to any of the files. The help file says:
Sets the specified metadata fields to the supplied values. Changes are made (where applicable) to all selected files.
Based on the (where applicable) I would expect the changes to be made to selected image files and ignored for other selected files.
Regards, AB