Fix bug in H.264 codec detection

When detecting if media is H.264 using getCodecV(), sometimes the
function return more than "h264" (in my tests, it returned "h264
(High)"), and isH264() is already here to help (and I also did a little
fix in it), so I used it instead using getCodecV() directly.