restored original behaviour or release functions for (Buffer and Texture)
removed detail:: prefix int video_reader

it conflicts with cv::detail