1. media-source derived from libct::object
2. fixed compile warning/error