changeset 10160:ad75409ed15e

support for pnm and rtsp stream opening with gui, patch by Ambrose Li <a.c.li@ieee.org>
author alex
date Fri, 23 May 2003 12:58:13 +0000
parents 3de6f1bcbc1a
children a339c588ddcd
files Gui/mplayer/gtk/url.c
diffstat 1 files changed, 5 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/Gui/mplayer/gtk/url.c	Fri May 23 12:37:58 2003 +0000
+++ b/Gui/mplayer/gtk/url.c	Fri May 23 12:58:13 2003 +0000
@@ -66,7 +66,11 @@
 
    if ( str )
     {
-     if ( strncmp( str,"http://",7 ) && strncmp( str,"ftp://",6 ) && strncmp( str,"mms://",6 ) )
+     if ( strncmp( str,"http://",7 )
+	&& strncmp( str,"ftp://",6 )
+	&& strncmp( str,"mms://",6 )
+	&& strncmp( str,"pnm://",6 )
+	&& strncmp( str,"rtsp://",7 ) )
       {
        gchar * tmp;
        tmp=malloc( strlen( str ) + 8 );