The rest of the code might want to use this
Change-Id: Ica617d702a452e785fb1de16e910a3afcb56232d
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1757>
return GST_HLS_MEDIA_TYPE_INVALID;
}
+#ifdef TIZEN_FEATURE_UPSTREAM
+#define GST_HLS_MEDIA_TYPE_NAME(mtype) gst_hls_media_type_get_name(mtype)
+const gchar *
+gst_hls_media_type_get_name (GstHLSMediaType mtype)
+#else
#define GST_HLS_MEDIA_TYPE_NAME(mtype) gst_m3u8_hls_media_type_get_nick(mtype)
static inline const gchar *
gst_m3u8_hls_media_type_get_nick (GstHLSMediaType mtype)
+#endif
{
static const gchar *nicks[GST_HLS_N_MEDIA_TYPES] = { "audio", "video",
"subtitle", "closed-captions"
void gst_hls_media_unref (GstHLSMedia * media);
+#ifdef TIZEN_FEATURE_UPSTREAM
+const gchar * gst_hls_media_type_get_name (GstHLSMediaType mtype);
+#endif
struct _GstHLSVariantStream {
gchar *name; /* This will be the "name" of the playlist, the original