aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--www/gecko-mediaplayer/files/patch-src__plugin.cpp21
1 files changed, 21 insertions, 0 deletions
diff --git a/www/gecko-mediaplayer/files/patch-src__plugin.cpp b/www/gecko-mediaplayer/files/patch-src__plugin.cpp
new file mode 100644
index 000000000000..2d8248c2758e
--- /dev/null
+++ b/www/gecko-mediaplayer/files/patch-src__plugin.cpp
@@ -0,0 +1,21 @@
+Index: src/plugin.cpp
+===================================================================
+--- src/plugin.cpp (revision 516)
++++ src/plugin.cpp (revision 517)
+@@ -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;