<?xml version="1.0" encoding="UTF-8" standalone="no"?>\r
-<?pde version="3.8"?><target name="JobEngine" sequenceNumber="438">\r
+<?pde version="3.8"?><target name="JobEngine" sequenceNumber="442">\r
<locations>\r
<location path="${workspace_loc}/-dependencies/target/repository/plugins" type="Directory"/>\r
</locations>\r
<plugin id="org.apache.commons.lang"/>\r
<plugin id="org.apache.commons.net"/>\r
<plugin id="org.apache.felix.gogo.command"/>\r
-<plugin id="org.apache.felix.gogo.runtime" version="0.12.0"/>\r
-<plugin id="org.apache.felix.gogo.shell" version="0.12.0"/>\r
+<plugin id="org.apache.felix.gogo.runtime" version="0.10.0"/>\r
+<plugin id="org.apache.felix.gogo.shell" version="0.10.0"/>\r
<plugin id="org.apache.httpcomponents.httpclient"/>\r
<plugin id="org.apache.httpcomponents.httpcore"/>\r
<plugin id="org.apache.logging.log4j.api"/>\r
<id>org.eclipse.jetty:jetty-server:9.3.9.v20160517</id>\r
</artifact>\r
<artifact>\r
- <id>org.apache.felix:org.apache.felix.gogo.shell:0.12.0</id>\r
+ <id>org.apache.felix:org.apache.felix.gogo.shell:0.10.0</id>\r
</artifact>\r
<artifact>\r
- <id>org.apache.felix:org.apache.felix.gogo.command:0.12.0</id>\r
+ <id>org.apache.felix:org.apache.felix.gogo.command:0.10.0</id>\r
</artifact>\r
<artifact>\r
- <id>org.apache.felix:org.apache.felix.gogo.runtime:0.12.0</id>\r
+ <id>org.apache.felix:org.apache.felix.gogo.runtime:0.10.0</id>\r
</artifact>\r
<artifact>\r
<id>commons-io:commons-io:2.2</id>\r
<plugin id="org.eclipse.jetty.websocket.servlet"/>\r
<plugin id="org.eclipse.jetty.xml"/>\r
<plugin id="org.eclipse.osgi"/>\r
- <plugin id="org.eclipse.osgi.services" version="3.2.100.v20100503"/>\r
+ <plugin id="org.eclipse.osgi.services"/>\r
<plugin id="org.hamcrest.core"/>\r
<plugin id="org.jboss.resteasy.client"/>\r
<plugin id="org.jboss.resteasy.jaxb-provider"/>\r
public class PASAPOOLTransferToStep extends TransferStep {\r
private static final Logger logger = LogManager.getLogger();\r
private static final String CODEC_PROFILE_HIGH = "HIGH";\r
+ private static final String CODEC_PROFILE_MAIN = "MAIN";\r
private static final String CODEC_PROFILE_422 = "4:2:2";\r
private static final String DISPLAY_ASPECT_16_9 = "16:9";\r
private static final String DISPLAY_ASPECT_4_3 = "4:3";\r
// aspect=4:3\r
// >SELENIOPOOL_4_3 | \\10.170.100.21\media\SelenioPool\4_3\r
private boolean isSD_HIGH_4_3(MediaInfo mi) {\r
- return mi.getHeight() < 650 && CODEC_PROFILE_HIGH.equals(mi.getCodecProfileName()) && DISPLAY_ASPECT_4_3.equals(mi.getDisplayAspect());\r
+ String codecProfileName = mi.getCodecProfileName();\r
+ if (codecProfileName != null)\r
+ codecProfileName = codecProfileName.toUpperCase();\r
+ return mi.getHeight() < 650 && CODEC_PROFILE_HIGH.equals(codecProfileName) && DISPLAY_ASPECT_4_3.equals(mi.getDisplayAspect());\r
}\r
\r
// SD - MAIN/422@HIGH\r
// height < 650\r
- // profile=High || profile=4:2:2\r
+ // profile=Main || profile=4:2:2\r
// >PEABLEBEACH | \\10.170.100.21\media\BeachPool\r
private boolean isSD_MAIN_422(MediaInfo mi) {\r
- return mi.getHeight() < 650 && (CODEC_PROFILE_HIGH.equals(mi.getCodecProfileName()) || CODEC_PROFILE_422.equals(mi.getCodecProfileName()));\r
+ String codecProfileName = mi.getCodecProfileName();\r
+ if (codecProfileName != null)\r
+ codecProfileName = codecProfileName.toUpperCase();\r
+ return mi.getHeight() < 650 && (CODEC_PROFILE_MAIN.equals(codecProfileName) || CODEC_PROFILE_422.equals(mi.getCodecProfileName()));\r
}\r
\r
protected void logMediaProfile() {\r
junit.framework,
org.apache.logging.log4j;version="2.8.2",
org.apache.logging.log4j.message;version="2.8.2",
- org.hamcrest,
org.jboss.resteasy.client.jaxrs,
org.jboss.resteasy.plugins.providers,
org.jboss.resteasy.spi,
com.ibm.nosql;bundle-version="4.19.26";visibility:=reexport,
org.jmock.junit4;bundle-version="2.6.0",
org.jmock;bundle-version="2.6.0",
- com.ibm.db2.jcc;bundle-version="1.4.0"
+ com.ibm.db2.jcc;bundle-version="1.4.0",
+ org.hamcrest.core;bundle-version="1.3.0",
+ junit;bundle-version="4.12.0"
Service-Component: OSGI-INF/component.xml
Bundle-ActivationPolicy: lazy
Import-Package: com.fasterxml.jackson.annotation;version="2.4.5",
javax.ws.rs.core,
org.apache.commons.io;version="2.2.0",
org.apache.logging.log4j;version="2.8.2",
- org.hamcrest,
- org.junit,
- org.junit.runner,
sqlj.runtime.ref
Export-Package: user.jobengine.db,
user.jobengine.search
org.apache.logging.log4j.message;version="2.8.2",
org.eclipse.core.runtime.adaptor,
org.eclipse.osgi.framework.console;version="1.1.0",
- org.hamcrest,
org.jboss.resteasy.client.jaxrs,
org.jboss.resteasy.spi,
org.junit,
org.apache.commons.lang;bundle-version="2.4.0";visibility:=reexport,
org.jmock;bundle-version="2.6.0",
org.jmock.junit4;bundle-version="2.6.0",
- org.apache.servicemix.bundles.quartz;bundle-version="2.2.2"
+ org.apache.servicemix.bundles.quartz;bundle-version="2.2.2",
+ org.hamcrest.core;bundle-version="1.3.0"
Export-Package: user.jobengine.osgi.server,
user.jobengine.server,
user.jobengine.server.ast,