From 4744546e131cefcc2381d3c3183f382eb8257a10 Mon Sep 17 00:00:00 2001 From: Reinhard Pointner Date: Wed, 14 Oct 2015 06:13:50 +0000 Subject: [PATCH] * use "Encoded_Library_Name" MediaInfo property (renamed from Encoded_Library/Name in newer versions of libmediainfo) --- source/net/filebot/format/MediaBindingBean.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/net/filebot/format/MediaBindingBean.java b/source/net/filebot/format/MediaBindingBean.java index 46e81948..9ceb85d5 100644 --- a/source/net/filebot/format/MediaBindingBean.java +++ b/source/net/filebot/format/MediaBindingBean.java @@ -289,7 +289,7 @@ public class MediaBindingBean { @Define("vc") public String getVideoCodec() { // e.g. XviD, x264, DivX 5, MPEG-4 Visual, AVC, etc. - String codec = getMediaInfo(StreamKind.Video, 0, "Encoded_Library/Name", "CodecID/Hint", "Format"); + String codec = getMediaInfo(StreamKind.Video, 0, "Encoded_Library_Name", "Encoded_Library/Name", "CodecID/Hint", "Format"); // get first token (e.g. DivX 5 => DivX) return new Scanner(codec).next();