/** {@inheritDoc} */
public void setMetaData(IMetaData meta) throws IOException {
File tmpFile = File.createTempFile("setMeta_", ".flv");
if (metaService == null) {
metaService = new MetaService(file);
}
metaService.setInStream(new FileInputStream(file));
metaService.setOutStream(new FileOutputStream(tmpFile));
//if the file is not checked the write may produce an NPE
if (((MetaService) metaService).getFile() == null) {