// Path: src/main/java/uk/co/silentsoftware/config/LanguageSupport.java
// public static String getCaption(String key) {
// 	String translation = null;
// 	if (captions != null) {
// 		try {
// 			translation = captions.getString(key);
// 		} catch(MissingResourceException ignore){}
// 	}
// 	// We're missing a key's value, use the key as the value :(
// 	if (translation == null || translation.trim().length()==0) {
// 		translation=key;
// 	}
// 	return translation;
// }


import com.sun.jna.Native;
import com.sun.jna.NativeLibrary;
import uk.co.caprica.vlcj.binding.LibVlc;
import uk.co.caprica.vlcj.component.EmbeddedMediaPlayerComponent;
import uk.co.caprica.vlcj.player.MediaPlayer;
import uk.co.caprica.vlcj.runtime.RuntimeUtil;
import static uk.co.silentsoftware.config.LanguageSupport.getCaption;
import java.awt.Image;
import java.io.File;
import java.io.IOException;
import java.util.Optional;
import java.util.Random;
import java.util.concurrent.BlockingQueue;
import java.util.concurrent.TimeUnit;
import javax.swing.JWindow;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
				if (cancel) {
					break;
				}
				
				// Always add images if we don't want a single preview
				// image or when the time exceeds the point we want a
				// single image from
				if (singleImageSelectionTime == -1 || player.getTime() >= singleImageSelectionTime) {
					sharedQueue.add(player.getSnapshot());
	
					// We only want one image if single image selection
					// is turned on
					if (singleImageSelectionTime != -1 && player.getTime() >= singleImageSelectionTime) {
						break;
					}
				}
			}
		} finally {
			player.stop();
			player.release();
			mediaPlayerComponent.release();
			cancel = false;
		}
	}
	
	/*
	 * {@inheritDoc}
	 */
	@Override 
	public String toString() {
// Path: src/main/java/uk/co/silentsoftware/config/LanguageSupport.java
// public static String getCaption(String key) {
// 	String translation = null;
// 	if (captions != null) {
// 		try {
// 			translation = captions.getString(key);
// 		} catch(MissingResourceException ignore){}
// 	}
// 	// We're missing a key's value, use the key as the value :(
// 	if (translation == null || translation.trim().length()==0) {
// 		translation=key;
// 	}
// 	return translation;
// }


// Path: src/main/java/uk/co/silentsoftware/core/converters/video/VLCVideoImportEngine.java
import com.sun.jna.Native;
import com.sun.jna.NativeLibrary;
import uk.co.caprica.vlcj.binding.LibVlc;
import uk.co.caprica.vlcj.component.EmbeddedMediaPlayerComponent;
import uk.co.caprica.vlcj.player.MediaPlayer;
import uk.co.caprica.vlcj.runtime.RuntimeUtil;
import static uk.co.silentsoftware.config.LanguageSupport.getCaption;
import java.awt.Image;
import java.io.File;
import java.io.IOException;
import java.util.Optional;
import java.util.Random;
import java.util.concurrent.BlockingQueue;
import java.util.concurrent.TimeUnit;
import javax.swing.JWindow;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

				if (cancel) {
					break;
				}
				
				// Always add images if we don't want a single preview
				// image or when the time exceeds the point we want a
				// single image from
				if (singleImageSelectionTime == -1 || player.getTime() >= singleImageSelectionTime) {
					sharedQueue.add(player.getSnapshot());
	
					// We only want one image if single image selection
					// is turned on
					if (singleImageSelectionTime != -1 && player.getTime() >= singleImageSelectionTime) {
						break;
					}
				}
			}
		} finally {
			player.stop();
			player.release();
			mediaPlayerComponent.release();
			cancel = false;
		}
	}
	
	/*
	 * {@inheritDoc}
	 */
	@Override 
	public String toString() {
		return getCaption("VLC");