X-Git-Url: http://vcs.maemo.org/git/?a=blobdiff_plain;f=qmafw-gst-subtitles-renderer%2Finc%2Fmafw-gst-renderer-utils.h;fp=qmafw-gst-subtitles-renderer%2Finc%2Fmafw-gst-renderer-utils.h;h=41e30eb9348e3834adb08aa53076630e95580498;hb=226d35244df85a27c332d3a3ded1b25b3c7f4951;hp=0000000000000000000000000000000000000000;hpb=57ba96e291a055f69dbfd4ae9f1ae2390e36986e;p=mafwsubrenderer diff --git a/qmafw-gst-subtitles-renderer/inc/mafw-gst-renderer-utils.h b/qmafw-gst-subtitles-renderer/inc/mafw-gst-renderer-utils.h new file mode 100644 index 0000000..41e30eb --- /dev/null +++ b/qmafw-gst-subtitles-renderer/inc/mafw-gst-renderer-utils.h @@ -0,0 +1,38 @@ +/* + * This file is a part of MAFW + * + * Copyright (C) 2007, 2008, 2009 Nokia Corporation, all rights reserved. + * + * Contact: Visa Smolander + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public License + * as published by the Free Software Foundation; version 2.1 of + * the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, but + * WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA + * 02110-1301 USA + */ +#ifndef MAFW_GST_RENDERER_UTILS_H +#define MAFW_GST_RENDERER_UTILS_H + +G_BEGIN_DECLS +#include +#include +#include "mafw-gst-renderer-worker.h" + +gboolean convert_utf8(const gchar *src, gchar **dst); +gboolean uri_is_stream(const gchar *uri); +gint remap_gst_error_code(const GError *error); + +char *uri_get_subtitle_uri(const char *uri); + +G_END_DECLS +#endif