[gecko-mediaplayer] r517 committed - Allow compiling on older libxuls where certain constants are not defin...

1 view
Skip to first unread message

codesite...@google.com

unread,
Jan 14, 2013, 8:45:28 AM1/14/13
to gecko-mediap...@googlegroups.com
Revision: 517
Author: kdekorte
Date: Mon Jan 14 05:45:17 2013
Log: Allow compiling on older libxuls where certain constants are not
defined
http://code.google.com/p/gecko-mediaplayer/source/detail?r=517

Modified:
/trunk/ChangeLog
/trunk/src/plugin.cpp

=======================================
--- /trunk/ChangeLog Tue Oct 30 12:03:49 2012
+++ /trunk/ChangeLog Mon Jan 14 05:45:17 2013
@@ -1,4 +1,5 @@
Development
+ Allow compiling on older libxuls where certain constants are not defined
1.0.7
1.0.7b
1.0.7a1
=======================================
--- /trunk/src/plugin.cpp Mon Oct 8 06:19:39 2012
+++ /trunk/src/plugin.cpp Mon Jan 14 05:45:17 2013
@@ -250,12 +250,16 @@
case NPERR_STREAM_NOT_SEEKABLE:
return "Stream Not Seekable";
break;
+#ifdef NPERR_TIME_RANGE_NOT_SUPPORTED
case NPERR_TIME_RANGE_NOT_SUPPORTED:
return "Time Range Not Supported";
break;
+#endif
+#ifdef NPERR_MALFORMED_SITE
case NPERR_MALFORMED_SITE:
return "Malformed Site";
break;
+#endif
default:
return "Unknown NPError Code";
break;
Reply all
Reply to author
Forward
0 new messages