Change-Id: Iaa7cdcba9d5e6840f46181b9204edd1cfa37e7d1
av_register_all ();
- gst_ffmpegaudenc_register (plugin);
+#ifndef TIZEN_PRODUCT_TV
gst_ffmpegvidenc_register (plugin);
gst_ffmpegauddec_register (plugin);
gst_ffmpegviddec_register (plugin);
gst_ffmpegdemux_register (plugin);
gst_ffmpegmux_register (plugin);
gst_ffmpegdeinterlace_register (plugin);
+#endif
+ gst_ffmpegaudenc_register (plugin);
+
#if 0
gst_ffmpegscale_register (plugin);
#endif
goto next;
}
+#ifdef TIZEN_PRODUCT_TV
+ if (in_plugin->id != AV_CODEC_ID_AAC)
+ goto next;
+#endif
+
/* No encoders depending on external libraries (we don't build them, but
* people who build against an external ffmpeg might have them.
* We have native gstreamer plugins for all of those libraries anyway. */
export CFLAGS+=" -Wall -g -fPIC\
-DGST_TIZEN_MODIFICATION\
-DTIZEN_FEATURE_LIBAV \
+%if "%{TIZEN_PRODUCT_TV}" == "1"
+ -DTIZEN_PRODUCT_TV \
+%endif
-DLIBAV_RANK_MODIFICATION"
%configure --disable-static \