vslsmas: Use get_buffer2() instead of deprecated get_buffer().
common: Fix a crash of direct rendering when changing decoder configuration.