Removed a duplicate getParam call for pixel_format