Skipped sprd decoders 86/56886/1 accepted/tizen/mobile/20160115.113922 accepted/tizen/tv/20160115.113936 accepted/tizen/wearable/20160115.113959 submit/tizen/20160115.084309
authorAndrey Shelest <a.shelest@samsung.com>
Wed, 13 Jan 2016 10:00:09 +0000 (12:00 +0200)
committerAndrey Shelest <a.shelest@samsung.com>
Wed, 13 Jan 2016 10:00:47 +0000 (12:00 +0200)
Change-Id: I46ff1a8338ebcf0de33d3b03fd7a6ca0d5a48327

src/media_streamer_gst.c

index 75947a4..b854604 100755 (executable)
@@ -609,6 +609,8 @@ int __ms_get_rank_increase(const char *factory_name)
                ret = rank_skip;
        else if (g_strrstr(factory_name, "rtph263ppay"))
                ret = rank_skip;
+       else if (g_strrstr(factory_name, "sprd"))
+               ret = rank_skip;
 
        return ret;
 }
@@ -820,6 +822,12 @@ static gint __decodebin_autoplug_select_cb(GstElement * bin, GstPad * pad, GstCa
                        ms_debug("Decodebin: skipping [%s] as disabled", factory_name);
                        return GST_AUTOPLUG_SELECT_SKIP;
                }
+
+               /* Skip SPRD HW decoders */
+               if (g_strrstr(factory_name, "sprd")) {
+                       ms_debug("Decodebin: skipping [%s] as disabled", factory_name);
+                       return GST_AUTOPLUG_SELECT_SKIP;
+               }
        }
 
        return GST_AUTOPLUG_SELECT_TRY;