Improved support for H.265 (HEVC)
Updated method
Deprecated unused (?) code