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

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