Question about Dolby Vision encoding

I recently encoded a 4k movie in H265 10-bit.

Before encoding, the file did not appear to support Dolby Vision but after the encode, my media player now appears to recognize the file as supporting Dolby Vision.

What has happened here? Is there a way to encode with and without DV?