}
} else if (g_strrstr(factory_name, player->ini.videocodec_element_hw)) {
player->pipeline->mainbin[MMPLAYER_M_DEC1].gst = element;
- } else if (g_strrstr(factory_name, "omxdec_h264")) {
+ }
+
+ if (g_strrstr(factory_name, "omxdec_h264") || g_strrstr(factory_name, "v4l2h264dec")) {
GstElement *video_parse = player->pipeline->mainbin[MMPLAYER_M_V_PARSE].gst;
if (video_parse && (g_object_class_find_property(G_OBJECT_GET_CLASS(video_parse), "config-interval"))) {
g_object_set(G_OBJECT(video_parse), "config-interval", -1, NULL);