codec: rename kind() to medium()

This commit is contained in:
meh
2015-05-16 14:43:21 +02:00
parent 2dd658f337
commit 7f6d694a7d
3 changed files with 3 additions and 3 deletions

View File

@ -47,7 +47,7 @@ impl<'a> Codec<'a> {
}
}
pub fn kind(&self) -> media::Type {
pub fn medium(&self) -> media::Type {
unsafe {
media::Type::from((*self.ptr).kind)
}