Bugfix. HDR generator replaced with a function, therefore the return
value shall be modified in process_seq_type