Commit 36046ad6 authored by marceteau's avatar marceteau
Browse files

retour en arriere sur le codec audio

parent 3168a881
......@@ -1275,12 +1275,12 @@ public class DCToSeda21Converter extends AbstractArchiveConverter {
/**
* Si codec Video ET Audio, on mets les 2 codec dans la balise Video
*/
//if(audioCodec != "") {
// videoTechnicalMetadataType.getAny().add(createXMLElement(audioCodec, "Codec"));
//}
if(audioCodec != "") {
videoTechnicalMetadataType.getAny().add(createXMLElement(audioCodec, "Codec"));
}
metadata.setVideo(videoTechnicalMetadataType);
}
if(audioCodec != "") {
if(videoCodec.equals("") && audioCodec != "") {
AudioTechnicalMetadataType audioTechnicalMetadataType = objectFactory.createAudioTechnicalMetadataType();
audioTechnicalMetadataType.getAny().add(createXMLElement(audioCodec, "Codec"));
metadata.setAudio(audioTechnicalMetadataType);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment