fix bug, when disable all, some code of HLS must be exported.