* @param string $codec * @returns boolean true if $codec is a valid codec value and false otherwise */
($codec)
| 194 | * @returns boolean true if $codec is a valid codec value and false otherwise |
| 195 | */ |
| 196 | public static function isValidCodec($codec) |
| 197 | { |
| 198 | return in_array($codec, self::validCodecs()); |
| 199 | } |
| 200 | |
| 201 | /** |
| 202 | * @returns array array of valid codecs |
no test coverage detected