Some fixes to HLS output.
Some fixes to HLS output.

rbouqueau/mistserver,rbouqueau/mistserver,rbouqueau/mistserver,DDVTECH/mistserver,rbouqueau/mistserver,DDVTECH/mistserver,DDVTECH/mistserver,DDVTECH/mistserver,rbouqueau/mistserver,DDVTECH/mistserver