disable dcapsrse not supported in mobile 2.2_release submit/tizen_2.2/20130714.145701
authorYounghwan Ahn <younghwan_.an@samsung.com>
Sun, 30 Jun 2013 05:42:50 +0000 (14:42 +0900)
committerYounghwan Ahn <younghwan_.an@samsung.com>
Sun, 30 Jun 2013 05:42:50 +0000 (14:42 +0900)
gst/audioparsers/plugin.c
packaging/gst-plugins-good.spec

index ae8332d..9f3eae6 100644 (file)
@@ -39,8 +39,10 @@ plugin_init (GstPlugin * plugin)
       GST_RANK_PRIMARY + 1, GST_TYPE_AMR_PARSE);
   ret &= gst_element_register (plugin, "ac3parse",
       GST_RANK_PRIMARY + 1, GST_TYPE_AC3_PARSE);
+#ifndef _GST_EXT_DISABLE_DCAPARSE_ // should be disable in mobile because not supported codec
   ret &= gst_element_register (plugin, "dcaparse",
       GST_RANK_PRIMARY + 1, GST_TYPE_DCA_PARSE);
+#endif
   ret &= gst_element_register (plugin, "flacparse",
       GST_RANK_PRIMARY + 1, GST_TYPE_FLAC_PARSE);
   ret &= gst_element_register (plugin, "mpegaudioparse",
index 4e5e5cb..71fa85b 100644 (file)
@@ -58,6 +58,7 @@ export CFLAGS+=" -Wall -g -fPIC\
  -DGST_EXT_RTSPSRC_MODIFICATION \
  -DGST_EXT_AMRPARSER_MODIFICATION \
  -DGST_EXT_AACPARSER_MODIFICATION \
+ -D_GST_EXT_DISABLE_DCAPARSE_ \
  -DGST_EXT_MPEGAUDIO_MODIFICATION"
 
 %configure --prefix=%{_prefix}\