From 76c0a9dbb806d4f073c9ebb4d389a515f07f2d68 Mon Sep 17 00:00:00 2001 From: Gilbok Lee Date: Tue, 15 Dec 2015 10:15:38 +0900 Subject: [PATCH] Skip v4l2decoder (v4l2decoder occure decoding error) Change-Id: Icaab136158f0e0331bda090d4212c2275e49f45b Signed-off-by: Gilbok Lee --- packaging/libmm-transcode.spec | 2 +- transcode/mm_transcode_seek.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/packaging/libmm-transcode.spec b/packaging/libmm-transcode.spec index f4afff0..60fced6 100644 --- a/packaging/libmm-transcode.spec +++ b/packaging/libmm-transcode.spec @@ -1,7 +1,7 @@ Name: libmm-transcode Summary: Multimedia Framework Video Transcode Library Version: 0.10 -Release: 4 +Release: 5 Group: System/Libraries License: Apache-2.0 Source0: %{name}-%{version}.tar.gz diff --git a/transcode/mm_transcode_seek.c b/transcode/mm_transcode_seek.c index eb675bb..b198539 100755 --- a/transcode/mm_transcode_seek.c +++ b/transcode/mm_transcode_seek.c @@ -200,9 +200,9 @@ GstAutoplugSelectResult _mm_cb_decode_bin_autoplug_select(GstElement *element, G } if (g_strrstr(caps_str, "video")) { - if (g_strrstr(feature_name, "omx") || g_strrstr(feature_name, "sprd")) { + if (g_strrstr(feature_name, "omx") || g_strrstr(feature_name, "sprd") || g_strrstr(feature_name, "v4l2")) { /* emit autoplug-select to see what we should do with it. */ - debug_log("SKIP HW Codec"); + debug_log("SKIP %s Codec", feature_name); return GST_AUTOPLUG_SELECT_SKIP; } handle->property->videodecodename = (char *)malloc(sizeof(char) * ENC_BUFFER_SIZE); -- 2.34.1