} else {
GST_DEBUG_OBJECT (dec, "unsupported format; ignoring");
GST_AUDIO_DECODER_STREAM_UNLOCK (dec);
-#ifdef GST_EXT_AUDIODECODER_MODIFICATION
+#ifdef TIZEN_FEATURE_AUDIODECODER_MODIFICATION
goto newseg_wrong_format;
#else
gst_event_unref (event);
}
return ret;
-#ifdef GST_EXT_AUDIODECODER_MODIFICATION
+#ifdef TIZEN_FEATURE_AUDIODECODER_MODIFICATION
newseg_wrong_format:
{
GST_DEBUG_OBJECT (dec, "received non TIME newsegment");
PSTR2222, PLANE0123, OFFS0, SUB4444, PACK_A444_10LE),
MAKE_YUV_FORMAT (NV61, "raw video", GST_MAKE_FOURCC ('N', 'V', '6', '1'),
DPTH888, PSTR122, PLANE011, OFFS010, SUB422, PACK_NV61),
-#ifdef GST_TIZEN_TV
+#ifdef TIZEN_PROFILE_TV
MAKE_YUV_FORMAT (STV0, "raw video", GST_MAKE_FOURCC ('S', 'T', 'V', '0'),
DPTH888, PSTR111, PLANE012, OFFS0, SUB420, PACK_420),
MAKE_YUV_FORMAT (STV1, "raw video", GST_MAKE_FOURCC ('S', 'T', 'V', '1'),
switch (fourcc) {
case GST_MAKE_FOURCC ('I', '4', '2', '0'):
return GST_VIDEO_FORMAT_I420;
-#ifdef GST_TIZEN_TV
+#ifdef TIZEN_PROFILE_TV
case GST_MAKE_FOURCC ('S', 'T', 'V', '0'):
return GST_VIDEO_FORMAT_STV0;
case GST_MAKE_FOURCC ('S', 'T', 'V', '1'):
GST_VIDEO_FORMAT_A444_10BE,
GST_VIDEO_FORMAT_A444_10LE,
GST_VIDEO_FORMAT_NV61,
-#ifdef GST_TIZEN_TV
- GST_VIDEO_FORMAT_STV0,
- GST_VIDEO_FORMAT_STV1,
-#endif
+ GST_VIDEO_FORMAT_STV0, /* TIZEN_PROFILE_TV */
+ GST_VIDEO_FORMAT_STV1, /* TIZEN_PROFILE_TV */
} GstVideoFormat;
#define GST_VIDEO_MAX_PLANES 4
break;
case GST_VIDEO_FORMAT_I420:
case GST_VIDEO_FORMAT_YV12: /* same as I420, but plane 1+2 swapped */
-#ifdef GST_TIZEN_TV
+#ifdef TIZEN_PROFILE_TV
case GST_VIDEO_FORMAT_STV0:
case GST_VIDEO_FORMAT_STV1:
#endif
info->size = info->stride[0] * height * 3;
break;
case GST_VIDEO_FORMAT_NV12:
-#ifdef GST_TIZEN_MODIFICATION
+#ifdef TIZEN_FEATURE_VIDEO_MODIFICATION
case GST_VIDEO_FORMAT_SN12:
case GST_VIDEO_FORMAT_ST12:
#endif
info->stride[1] = info->stride[0];
info->offset[0] = 0;
info->offset[1] = info->stride[0] * GST_ROUND_UP_2 (height);
-#ifdef GST_TIZEN_MODIFICATION
+#ifdef TIZEN_FEATURE_VIDEO_MODIFICATION
info->size = info->stride[0] * GST_ROUND_UP_2 (height) * 3 / 2;
#else
cr_h = GST_ROUND_UP_2 (height) / 2;
return gst_video_overlay_type;
}
-#ifdef GST_EXT_WAYLAND_ENHANCEMENT
+#ifdef TIZEN_FEATURE_WAYLAND_ENHANCEMENT
/**
* gst_video_overlay_set_wl_window_wl_surface_id:
* @overlay: a #GstVideoOverlay to set the window on.
#define DEFAULT_ENCODING NULL
-#ifdef GST_TIZEN_SUBPARSE_MODIFICATION
+#ifdef TIZEN_FEATURE_SUBPARSE_MODIFICATION
#define DEFAULT_CURRENT_LANGUAGE NULL
#endif
enum
PROP_0,
PROP_ENCODING,
PROP_VIDEOFPS,
-#ifdef GST_TIZEN_SUBPARSE_MODIFICATION
+#ifdef TIZEN_FEATURE_SUBPARSE_MODIFICATION
PROP_EXTSUB_CURRENT_LANGUAGE
#endif
};
subparse->textbuf = NULL;
}
-#ifdef GST_TIZEN_SUBPARSE_MODIFICATION
+#ifdef TIZEN_FEATURE_SUBPARSE_MODIFICATION
if (subparse->state.current_language) {
g_free (subparse->state.current_language);
subparse->state.current_language = NULL;
"and the subtitle format requires it subtitles may be out of sync.",
0, 1, G_MAXINT, 1, 24000, 1001,
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
-#ifdef GST_TIZEN_SUBPARSE_MODIFICATION
+#ifdef TIZEN_FEATURE_SUBPARSE_MODIFICATION
g_object_class_install_property (object_class, PROP_EXTSUB_CURRENT_LANGUAGE,
g_param_spec_string ("current-language", "Current language",
"Current language of the subtitle in external subtitle case.",
subparse->fps_n = 24000;
subparse->fps_d = 1001;
-#ifdef GST_TIZEN_SUBPARSE_MODIFICATION
+#ifdef TIZEN_FEATURE_SUBPARSE_MODIFICATION
subparse->state.language_list = NULL;
subparse->state.current_language = NULL;
subparse->state.langlist_msg_posted = FALSE;
}
break;
}
-#ifdef GST_TIZEN_SUBPARSE_MODIFICATION
+#ifdef TIZEN_FEATURE_SUBPARSE_MODIFICATION
case PROP_EXTSUB_CURRENT_LANGUAGE:
if (subparse->state.current_language)
g_free(subparse->state.current_language);
case PROP_VIDEOFPS:
gst_value_set_fraction (value, subparse->fps_n, subparse->fps_d);
break;
-#ifdef GST_TIZEN_SUBPARSE_MODIFICATION
+#ifdef TIZEN_FEATURE_SUBPARSE_MODIFICATION
case PROP_EXTSUB_CURRENT_LANGUAGE:
g_value_set_string (value, subparse->state.current_language);
break;
state->state = 0;
state->segment = NULL;
-#ifdef GST_TIZEN_SUBPARSE_MODIFICATION
+#ifdef TIZEN_FEATURE_SUBPARSE_MODIFICATION
state->language_list = NULL;
state->current_language = NULL;
state->langlist_msg_posted = FALSE;
GstCaps *caps = NULL;
gchar *line, *subtitle;
gboolean need_tags = FALSE;
-#ifdef GST_TIZEN_SUBPARSE_MODIFICATION
+#ifdef TIZEN_FEATURE_SUBPARSE_MODIFICATION
GstMessage *m = NULL;
#endif
GST_LOG_OBJECT (self, "Parsing line '%s'", line + offset);
subtitle = self->parse_line (&self->state, line + offset);
g_free (line);
-#ifdef GST_TIZEN_SUBPARSE_MODIFICATION
+#ifdef TIZEN_FEATURE_SUBPARSE_MODIFICATION
if (!self->state.langlist_msg_posted && self->state.language_list) {
m = gst_message_new_element (GST_OBJECT_CAST (self), gst_structure_new("Ext_Sub_Language_List",
"lang_list", G_TYPE_POINTER, self->state.language_list, NULL));
gpointer user_data;
gboolean have_internal_fps; /* If TRUE don't overwrite fps by property */
gint fps_n, fps_d; /* used by frame based parsers */
-#ifdef GST_TIZEN_SUBPARSE_MODIFICATION
+#ifdef TIZEN_FEATURE_SUBPARSE_MODIFICATION
GList* language_list;
gchar* current_language;
gboolean langlist_msg_posted;
typedef struct _HtmlParser HtmlParser;
typedef struct _HtmlContext HtmlContext;
typedef struct _GstSamiContext GstSamiContext;
-#ifdef GST_TIZEN_SUBPARSE_MODIFICATION
+#ifdef TIZEN_FEATURE_SUBPARSE_MODIFICATION
typedef struct _LanguageStruct GstLangStruct;
struct _LanguageStruct
{
* content of the sync elements to buf */
guint64 time1; /* previous start attribute in sync tag */
guint64 time2; /* current start attribute in sync tag */
-#ifdef GST_TIZEN_SUBPARSE_MODIFICATION
+#ifdef TIZEN_FEATURE_SUBPARSE_MODIFICATION
guint64 time3; /* To store the last current time when language is changed */
GList *lang_list; /* Language list for an external subtitle file */
gchar *current_language; /* Current language parsed */
gint count = 0, i;
gchar **attrs;
const gchar *found, *next;
-#ifdef GST_TIZEN_SUBPARSE_MODIFICATION
+#ifdef TIZEN_FEATURE_SUBPARSE_MODIFICATION
const gchar *name_temp = NULL;
gint j = 0;
#endif
attrs[i] = attr_name;
attrs[i + 1] = attr_value;
}
-#ifdef GST_TIZEN_SUBPARSE_MODIFICATION
+#ifdef TIZEN_FEATURE_SUBPARSE_MODIFICATION
/* sometimes spaces can be there in between !-- and P
* that also we have to take care */
if (!g_ascii_strcasecmp("!--", name)) {
sctx->time1 = sctx->time2;
sctx->time2 = atoi ((const char *) value) * GST_MSECOND;
-#ifdef GST_TIZEN_SUBPARSE_MODIFICATION
+#ifdef TIZEN_FEATURE_SUBPARSE_MODIFICATION
sctx->time3 = sctx->time2;
#endif
sctx->time2 = MAX (sctx->time2, sctx->time1);
sami_context_push_state (sctx, SPAN_TAG);
}
}
-#ifdef GST_TIZEN_SUBPARSE_MODIFICATION
+#ifdef TIZEN_FEATURE_SUBPARSE_MODIFICATION
static void
handle_p (GstSamiContext * sctx, const gchar ** atts)
{
} else if (!g_ascii_strcasecmp ("ruby", name)) {
sami_context_push_state (sctx, RUBY_TAG);
} else if (!g_ascii_strcasecmp ("br", name)) {
-#ifdef GST_TIZEN_SUBPARSE_MODIFICATION
+#ifdef TIZEN_FEATURE_SUBPARSE_MODIFICATION
if (sctx->current_language && sctx->desired_language &&
!strcmp(sctx->current_language, sctx->desired_language))
#endif
g_string_append (sctx->rubybuf, "<span size='xx-small' rise='-100'>");
sami_context_push_state (sctx, RT_TAG);
} else if (!g_ascii_strcasecmp ("i", name)) {
-#ifdef GST_TIZEN_SUBPARSE_MODIFICATION
+#ifdef TIZEN_FEATURE_SUBPARSE_MODIFICATION
if (sctx->current_language && sctx->desired_language &&
!strcmp(sctx->current_language, sctx->desired_language))
#endif
g_string_append (sctx->buf, "<i>");
sami_context_push_state (sctx, ITALIC_TAG);
} else if (!g_ascii_strcasecmp ("p", name)) {
-#ifdef GST_TIZEN_SUBPARSE_MODIFICATION
+#ifdef TIZEN_FEATURE_SUBPARSE_MODIFICATION
handle_p (sctx, atts);
} else if (!g_ascii_strcasecmp ("!--P", name)) {
handle_start_language_list (sctx, atts);
/* We will usually have one buffer left when the body is closed
* as we need the next sync to actually send it */
-#ifdef GST_TIZEN_SUBPARSE_MODIFICATION
+#ifdef TIZEN_FEATURE_SUBPARSE_MODIFICATION
sctx->end_body = TRUE;
#endif
if (!sctx->in_sync)
return;
-#ifdef GST_TIZEN_SUBPARSE_MODIFICATION
+#ifdef TIZEN_FEATURE_SUBPARSE_MODIFICATION
if (has_tag (sctx->state, RT_TAG) && (sctx->current_language && sctx->desired_language &&
!strcmp(sctx->current_language, sctx->desired_language))) {
#else
g_string_append (sctx->rubybuf, text);
g_string_append_c (sctx->rubybuf, ' ');
} else {
-#ifdef GST_TIZEN_SUBPARSE_MODIFICATION
+#ifdef TIZEN_FEATURE_SUBPARSE_MODIFICATION
if (sctx->current_language && sctx->desired_language &&
!strcmp(sctx->current_language, sctx->desired_language))
#endif
context->rubybuf = g_string_new ("");
context->resultbuf = g_string_new ("");
context->state = g_string_new ("");
-#ifdef GST_TIZEN_SUBPARSE_MODIFICATION
+#ifdef TIZEN_FEATURE_SUBPARSE_MODIFICATION
if (context->current_language)
free(context->current_language);
context->current_language = NULL;
sami_context_deinit (ParserState * state)
{
GstSamiContext *context = (GstSamiContext *) state->user_data;
-#ifdef GST_TIZEN_SUBPARSE_MODIFICATION
+#ifdef TIZEN_FEATURE_SUBPARSE_MODIFICATION
GstLangStruct *temp = NULL;
int i = 0;
#endif
g_string_free (context->rubybuf, TRUE);
g_string_free (context->resultbuf, TRUE);
g_string_free (context->state, TRUE);
-#ifdef GST_TIZEN_SUBPARSE_MODIFICATION
+#ifdef TIZEN_FEATURE_SUBPARSE_MODIFICATION
if (context->lang_list) {
while ((temp = g_list_nth_data (context->lang_list, i))) {
if (temp->language_code)
}
}
-#ifdef GST_TIZEN_SUBPARSE_MODIFICATION
+#ifdef TIZEN_FEATURE_SUBPARSE_MODIFICATION
void
sami_context_change_language (ParserState * state)
{
gchar *unescaped = unescape_string (line);
html_context_parse (context->htmlctxt, (gchar *) unescaped,
strlen (unescaped));
-#ifdef GST_TIZEN_SUBPARSE_MODIFICATION
+#ifdef TIZEN_FEATURE_SUBPARSE_MODIFICATION
if (context->lang_list)
state->language_list = context->lang_list;
}
#endif
g_free (unescaped);
-#ifdef GST_TIZEN_SUBPARSE_MODIFICATION
+#ifdef TIZEN_FEATURE_SUBPARSE_MODIFICATION
if (context->desired_language && context->current_language) {
if (!strcmp(context->current_language, context->desired_language)) {
#endif
state->duration = context->time2 - context->time1;
context->has_result = FALSE;
}
-#ifdef GST_TIZEN_SUBPARSE_MODIFICATION
+#ifdef TIZEN_FEATURE_SUBPARSE_MODIFICATION
}
}
#endif
void sami_context_deinit (ParserState * state);
void sami_context_reset (ParserState * state);
-#ifdef GST_TIZEN_SUBPARSE_MODIFICATION
+#ifdef TIZEN_FEATURE_SUBPARSE_MODIFICATION
void sami_context_change_language (ParserState * state);
#endif
au_type_find, "au,snd", AU_CAPS, NULL, NULL);
TYPE_FIND_REGISTER_RIFF (plugin, "video/x-msvideo", GST_RANK_PRIMARY,
"avi", "AVI ");
-#ifndef GST_EXT_MIME_TYPES
+#ifndef TIZEN_FEATURE_DISABLE_MIME_TYPES
TYPE_FIND_REGISTER_RIFF (plugin, "audio/qcelp", GST_RANK_PRIMARY,
"qcp", "QLCM");
TYPE_FIND_REGISTER_RIFF (plugin, "video/x-cdxa", GST_RANK_PRIMARY,
"mid,midi", "RMID");
TYPE_FIND_REGISTER (plugin, "audio/mobile-xmf", GST_RANK_PRIMARY,
mxmf_type_find, "mxmf", MXMF_CAPS, NULL, NULL);
-#ifndef GST_EXT_MIME_TYPES
+#ifndef TIZEN_FEATURE_DISABLE_MIME_TYPES
TYPE_FIND_REGISTER (plugin, "video/x-fli", GST_RANK_MARGINAL, flx_type_find,
"flc,fli", FLX_CAPS, NULL, NULL);
#endif
id3v1_type_find, "mp3,mp2,mp1,mpga,ogg,flac,tta", ID3_CAPS, NULL, NULL);
TYPE_FIND_REGISTER (plugin, "application/x-apetag", GST_RANK_PRIMARY + 102,
apetag_type_find, "mp3,ape,mpc,wv", APETAG_CAPS, NULL, NULL);
-#ifndef GST_EXT_MIME_TYPES
+#ifndef TIZEN_FEATURE_DISABLE_MIME_TYPES
TYPE_FIND_REGISTER (plugin, "audio/x-ttafile", GST_RANK_PRIMARY,
tta_type_find, "tta", TTA_CAPS, NULL, NULL);
TYPE_FIND_REGISTER (plugin, "audio/x-mod", GST_RANK_SECONDARY, mod_type_find,
"ac3,eac3", AC3_CAPS, NULL, NULL);
TYPE_FIND_REGISTER (plugin, "audio/x-dts", GST_RANK_SECONDARY, dts_type_find,
"dts", DTS_CAPS, NULL, NULL);
-#ifndef GST_EXT_MIME_TYPES
+#ifndef TIZEN_FEATURE_DISABLE_MIME_TYPES
TYPE_FIND_REGISTER (plugin, "audio/x-gsm", GST_RANK_PRIMARY, NULL, "gsm",
GSM_CAPS, NULL, NULL);
#endif
-#ifdef GST_TIZEN_TV
+#ifdef TIZEN_PROFILE_TV
TYPE_FIND_REGISTER (plugin, "video/mpeg-sys", GST_RANK_PRIMARY,
mpeg_sys_type_find, "mpe,mpeg,mpg", MPEG_SYS_CAPS, NULL, NULL);
#endif
q3gp_type_find, "3gp", Q3GP_CAPS, NULL, NULL);
TYPE_FIND_REGISTER (plugin, "video/quicktime", GST_RANK_PRIMARY,
qt_type_find, "mov,mp4", QT_CAPS, NULL, NULL);
-#ifndef GST_EXT_MIME_TYPES
+#ifndef TIZEN_FEATURE_DISABLE_MIME_TYPES
TYPE_FIND_REGISTER (plugin, "image/x-quicktime", GST_RANK_SECONDARY,
qtif_type_find, "qif,qtif,qti", QTIF_CAPS, NULL, NULL);
TYPE_FIND_REGISTER (plugin, "image/jp2", GST_RANK_PRIMARY,
TYPE_FIND_REGISTER_START_WITH (plugin, "application/x-pn-realaudio",
GST_RANK_SECONDARY, "ra,ram,rm,rmvb", ".ra\375", 4,
GST_TYPE_FIND_MAXIMUM);
-#ifndef GST_EXT_MIME_TYPES
+#ifndef TIZEN_FEATURE_DISABLE_MIME_TYPES
TYPE_FIND_REGISTER (plugin, "application/x-shockwave-flash",
GST_RANK_SECONDARY, swf_type_find, "swf,swfl", SWF_CAPS, NULL, NULL);
#endif
"txt", UTF16_CAPS, NULL, NULL);
TYPE_FIND_REGISTER (plugin, "text/utf-32", GST_RANK_MARGINAL, utf32_type_find,
"txt", UTF32_CAPS, NULL, NULL);
-#ifndef GST_EXT_MIME_TYPES
+#ifndef TIZEN_FEATURE_DISABLE_MIME_TYPES
TYPE_FIND_REGISTER (plugin, "text/uri-list", GST_RANK_MARGINAL, uri_type_find,
"ram", URI_CAPS, NULL, NULL);
#endif
hls_type_find, "m3u8", HLS_CAPS, NULL, NULL);
TYPE_FIND_REGISTER (plugin, "application/sdp", GST_RANK_SECONDARY,
sdp_type_find, "sdp", SDP_CAPS, NULL, NULL);
-#ifndef GST_EXT_MIME_TYPES
+#ifndef TIZEN_FEATURE_DISABLE_MIME_TYPES
TYPE_FIND_REGISTER (plugin, "application/smil", GST_RANK_SECONDARY,
smil_type_find, "smil", SMIL_CAPS, NULL, NULL);
TYPE_FIND_REGISTER (plugin, "application/ttml+xml", GST_RANK_SECONDARY,
#endif
TYPE_FIND_REGISTER_RIFF (plugin, "audio/x-wav", GST_RANK_PRIMARY, "wav",
"WAVE");
-#ifndef GST_EXT_MIME_TYPES
+#ifndef TIZEN_FEATURE_DISABLE_MIME_TYPES
TYPE_FIND_REGISTER (plugin, "audio/x-aiff", GST_RANK_SECONDARY,
aiff_type_find, "aiff,aif,aifc", AIFF_CAPS, NULL, NULL);
TYPE_FIND_REGISTER (plugin, "audio/x-svx", GST_RANK_SECONDARY, svx_type_find,
"png", "\211PNG\015\012\032\012", 8, GST_TYPE_FIND_MAXIMUM);
TYPE_FIND_REGISTER (plugin, "image/bmp", GST_RANK_PRIMARY, bmp_type_find,
"bmp", BMP_CAPS, NULL, NULL);
-#ifndef GST_EXT_MIME_TYPES
+#ifndef TIZEN_FEATURE_DISABLE_MIME_TYPES
TYPE_FIND_REGISTER (plugin, "image/tiff", GST_RANK_PRIMARY, tiff_type_find,
"tif,tiff", TIFF_CAPS, NULL, NULL);
TYPE_FIND_REGISTER_RIFF (plugin, "image/webp", GST_RANK_PRIMARY,
pnm_type_find, "pnm,ppm,pgm,pbm", PNM_CAPS, NULL, NULL);
TYPE_FIND_REGISTER (plugin, "video/x-matroska", GST_RANK_PRIMARY,
matroska_type_find, "mkv,mka,mk3d,webm", MATROSKA_CAPS, NULL, NULL);
-#ifndef GST_EXT_MIME_TYPES
+#ifndef TIZEN_FEATURE_DISABLE_MIME_TYPES
TYPE_FIND_REGISTER (plugin, "application/mxf", GST_RANK_PRIMARY,
mxf_type_find, "mxf", MXF_CAPS, NULL, NULL);
TYPE_FIND_REGISTER_START_WITH (plugin, "video/x-mve", GST_RANK_SECONDARY,
"amr", "#!AMR", 5, GST_TYPE_FIND_LIKELY);
TYPE_FIND_REGISTER_START_WITH (plugin, "audio/x-amr-wb-sh", GST_RANK_PRIMARY,
"amr", "#!AMR-WB", 7, GST_TYPE_FIND_MAXIMUM);
-#ifndef GST_EXT_MIME_TYPES
+#ifndef TIZEN_FEATURE_DISABLE_MIME_TYPES
TYPE_FIND_REGISTER (plugin, "audio/iLBC-sh", GST_RANK_PRIMARY, ilbc_type_find,
"ilbc", ILBC_CAPS, NULL, NULL);
TYPE_FIND_REGISTER (plugin, "audio/x-sbc", GST_RANK_MARGINAL, sbc_type_find,
vorbis_type_find, NULL, VORBIS_CAPS, NULL, NULL);
TYPE_FIND_REGISTER (plugin, "video/x-theora", GST_RANK_PRIMARY,
theora_type_find, NULL, THEORA_CAPS, NULL, NULL);
-#ifndef GST_EXT_MIME_TYPES
+#ifndef TIZEN_FEATURE_DISABLE_MIME_TYPES
TYPE_FIND_REGISTER (plugin, "application/x-ogm-video", GST_RANK_PRIMARY,
ogmvideo_type_find, NULL, OGMVIDEO_CAPS, NULL, NULL);
TYPE_FIND_REGISTER (plugin, "application/x-ogm-audio", GST_RANK_PRIMARY,
#endif
TYPE_FIND_REGISTER (plugin, "audio/aac", GST_RANK_SECONDARY, aac_type_find,
"aac,adts,adif,loas", AAC_CAPS, NULL, NULL);
-#ifndef GST_EXT_MIME_TYPES
+#ifndef TIZEN_FEATURE_DISABLE_MIME_TYPES
TYPE_FIND_REGISTER_START_WITH (plugin, "audio/x-spc", GST_RANK_SECONDARY,
"spc", "SNES-SPC700 Sound File Data", 27, GST_TYPE_FIND_MAXIMUM);
TYPE_FIND_REGISTER (plugin, "audio/x-wavpack", GST_RANK_SECONDARY,
TYPE_FIND_REGISTER_START_WITH (plugin, "application/octet-stream",
GST_RANK_SECONDARY, "DS_Store", "\000\000\000\001Bud1", 8,
GST_TYPE_FIND_LIKELY);
-#ifndef GST_EXT_MIME_TYPES
+#ifndef TIZEN_FEATURE_DISABLE_MIME_TYPES
TYPE_FIND_REGISTER_START_WITH (plugin, "image/vnd.adobe.photoshop",
GST_RANK_SECONDARY, "psd", "8BPS\000\001\000\000\000\000", 10,
GST_TYPE_FIND_LIKELY);
xdgmime_typefind, NULL, NULL, NULL, NULL);
#endif
-#ifndef GST_EXT_MIME_TYPES
+#ifndef TIZEN_FEATURE_DISABLE_MIME_TYPES
TYPE_FIND_REGISTER (plugin, "image/x-degas", GST_RANK_MARGINAL,
degas_type_find, NULL, NULL, NULL, NULL);
#endif
Name: gst-plugins-base
Version: 1.6.1
-Release: 5
+Release: 6
License: LGPL-2.0+
Summary: GStreamer Streaming-Media Framework Plug-Ins
Url: http://gstreamer.freedesktop.org/
export V=1
NOCONFIGURE=1 ./autogen.sh
export CFLAGS="%{optflags} -fno-strict-aliasing\
- -DGST_EXT_WAYLAND_ENHANCEMENT\
+ -DTIZEN_FEATURE_WAYLAND_ENHANCEMENT\
%if "%{?profile}" == "tv"
- -DGST_TIZEN_TV\
+ -DTIZEN_PROFILE_TV\
%endif
%ifarch %{arm}
- -DGST_EXT_AUDIODECODER_MODIFICATION\
- -DGST_EXT_LINK_FIMCCONVERT\
- -DGST_EXT_MIME_TYPES\
- -DGST_TIZEN_MODIFICATION\
- -DGST_TIZEN_SUBPARSE_MODIFICATION\
+ -DTIZEN_FEATURE_AUDIODECODER_MODIFICATION\
+ -DTIZEN_FEATURE_DISABLE_MIME_TYPES\
+ -DTIZEN_FEATURE_MQ_MODIFICATION\
+ -DTIZEN_FEATURE_VIDEO_MODIFICATION\
+ -DTIZEN_FEATURE_SUBPARSE_MODIFICATION\
%endif
"
+
%configure\
--disable-static\
--enable-experimental\