export V=1
NOCONFIGURE=1 ./autogen.sh
export CFLAGS+=" -DTIZEN_FEATURE_V4L2SRC_SCAN_DEVICE_NODE\
- -DTIZEN_FEATURE_V4L2SRC_SUPPORT_CAMERA_ID\
- -DTIZEN_FEATURE_WAVPARSE_MODIFICATION\
- -DTIZEN_FEATURE_MP3PARSE_MODIFICATION\
- -DTIZEN_FEATURE_AACPARSE_MODIFICATION\
- -DTIZEN_FEATURE_QTDEMUX_MODIFICATION\
- -DTIZEN_FEATURE_FLVDEMUX_MODIFICATION\
- -DTIZEN_FEATURE_GST_UPSTREAM\
+ -DTIZEN_FEATURE_V4L2SRC_SUPPORT_CAMERA_ID\
+ -DTIZEN_FEATURE_V4L2VIDEO_ADJ_RANK\
+ -DTIZEN_FEATURE_WAVPARSE_MODIFICATION\
+ -DTIZEN_FEATURE_MP3PARSE_MODIFICATION\
+ -DTIZEN_FEATURE_AACPARSE_MODIFICATION\
+ -DTIZEN_FEATURE_QTDEMUX_MODIFICATION\
+ -DTIZEN_FEATURE_FLVDEMUX_MODIFICATION\
+ -DTIZEN_FEATURE_GST_UPSTREAM\
-DTIZEN_FEATURE_RTSP_MODIFICATION\
- -DTIZEN_FEATURE_GST_MUX_ENHANCEMENT\
- -DTIZEN_FEATURE_SOUP_MODIFICATION\
- -DTIZEN_FEATURE_RGVOLUME_MODIFICATION\
- -DTIZEN_FEATURE_BASEPARSE_MODIFICATION\
- -DTIZEN_FEATURE_DISABLE_V4L2_DEPENDENCY\
- -fstack-protector-strong\
- -Wl,-z,relro\
- -D_FORTIFY_SOURCE=2"
+ -DTIZEN_FEATURE_GST_MUX_ENHANCEMENT\
+ -DTIZEN_FEATURE_SOUP_MODIFICATION\
+ -DTIZEN_FEATURE_RGVOLUME_MODIFICATION\
+ -DTIZEN_FEATURE_BASEPARSE_MODIFICATION\
+ -DTIZEN_FEATURE_DISABLE_V4L2_DEPENDENCY\
+ -fstack-protector-strong\
+ -Wl,-z,relro\
+ -D_FORTIFY_SOURCE=2"
%configure\
%if ! 0%{?ENABLE_AALIB}
--disable-aalib\
type_info.instance_init = gst_v4l2_video_dec_subinstance_init;
subtype = g_type_register_static (type, type_name, &type_info, 0);
+#ifdef TIZEN_FEATURE_V4L2VIDEO_ADJ_RANK
+ if (!gst_element_register (plugin, type_name, GST_RANK_PRIMARY,
+ subtype))
+ GST_WARNING ("Failed to register plugin '%s'", type_name);
+#else
if (!gst_element_register (plugin, type_name, GST_RANK_PRIMARY + 1,
subtype))
GST_WARNING ("Failed to register plugin '%s'", type_name);
+#endif
g_free (type_name);
}
subtype = g_type_register_static (type, type_name, &type_info, 0);
+#ifdef TIZEN_FEATURE_V4L2VIDEO_ADJ_RANK
+ if (!gst_element_register (plugin, type_name, GST_RANK_SECONDARY, subtype))
+ GST_WARNING ("Failed to register plugin '%s'", type_name);
+#else
if (!gst_element_register (plugin, type_name, GST_RANK_PRIMARY + 1, subtype))
GST_WARNING ("Failed to register plugin '%s'", type_name);
+#endif
g_free (type_name);
}