LPS-27229

Hey Alex!

This is a fix that Sampsa sent me regarding this ticket: http://issues.liferay.com/browse/LPS-27229

While I was reviewing I found out that the real issue is not that we are not setting a fileIndex, but the real issue is that both previews (the mp4 and the ogv) both point at the same file path because the path that we are generating in the following method:

```java
	protected void importPreviewFromLAR(
			PortletDataContext portletDataContext, FileEntry fileEntry,
			Element fileEntryElement, String binPathSuffix, int fileIndex)

```

it ends up calling this method:

```java
		if (fileIndex < 0) {
			binPathSegment = getPreviewType(fileVersion);
		}
```

that in the case of VideoProcessorImpl.java:

```java
	protected String getPreviewType(FileVersion fileVersion) {
		return _PREVIEW_TYPES[0];
	}
```

always returns the same type, no matter if we are importing mp4 or ogv, so the path to the file is the same at when it tries to import it it throws "DuplicateFileException"

It seems that this bug was introduced in ticket (http://issues.liferay.com/browse/LPS-17689), that's why I'm sending it to you, because you have more context than I do.

Also, I didn't test and in the LPS ticket doesn't mention it, but I'm 99% sure that this bug can also be reproduced in AudioProcessorImpl.java, because it has the same logic.

Let me know if you have any question or if you need any extra information please let me know.

Thanks Alex!