added HD/SD/3D flag