[DF-4127] Removed debug code. Fixed format detecting at pvr helper