Add rtp to the list of streaming URIs

(upstream svn revision r494)
This commit is contained in:
dcoppa 2012-01-11 13:06:47 +00:00
parent d58597215d
commit b607262b7e
2 changed files with 19 additions and 2 deletions

View File

@ -1,9 +1,9 @@
# $OpenBSD: Makefile,v 1.27 2012/01/09 22:52:37 dcoppa Exp $
# $OpenBSD: Makefile,v 1.28 2012/01/11 13:06:47 dcoppa Exp $
COMMENT = gnome-mplayer browser media plugin
V = 1.0.5
DISTNAME = gecko-mediaplayer-${V}
REVISION = 0
REVISION = 1
CATEGORIES = www
MAINTAINER = David Coppa <dcoppa@openbsd.org>

View File

@ -0,0 +1,17 @@
$OpenBSD: patch-src_plugin_setup_cpp,v 1.6 2012/01/11 13:06:47 dcoppa Exp $
Add rtp to the list of streaming URIs
(upstream svn revision r494)
--- src/plugin_setup.cpp.orig Wed Jan 11 14:01:14 2012
+++ src/plugin_setup.cpp Wed Jan 11 14:01:49 2012
@@ -591,6 +591,9 @@ gboolean streaming(gchar * url)
if (g_ascii_strncasecmp(url, "rtsp://", 7) == 0)
ret = TRUE;
+ if (g_ascii_strncasecmp(url, "rtp://", 6) == 0)
+ ret = TRUE;
+
if (g_ascii_strncasecmp(url, "tv://", 5) == 0)
ret = TRUE;