Regarding the necessity to patch the WAC: In ILIAS 5.2 that seems to be exactly line 1460.
But wouldn’t it be better to include a patch file, that simply inserts a whole “block” like
case "xvid":
$obj_id = $id;
break;
into the class file, with the plugin?