matroskaenc: implement query_codec()