[vlc-commits] npmac: added debug needed for windowed mode

Felix Paul Kühne git at videolan.org
Tue Jan 1 18:59:46 CET 2013


npapi-vlc | branch: master | Felix Paul Kühne <fkuehne at videolan.org> | Tue Jan  1 18:36:05 2013 +0100| [c371c0de94721be6c5f7da42ae50da89f08bc172] | committer: Felix Paul Kühne

npmac: added debug needed for windowed mode

> http://git.videolan.org/gitweb.cgi/npapi-vlc.git/?a=commit;h=c371c0de94721be6c5f7da42ae50da89f08bc172
---

 npapi/support/npmac.cpp |    2 ++
 1 file changed, 2 insertions(+)

diff --git a/npapi/support/npmac.cpp b/npapi/support/npmac.cpp
index 3eff4e9..597fe12 100644
--- a/npapi/support/npmac.cpp
+++ b/npapi/support/npmac.cpp
@@ -434,6 +434,7 @@ NPError    Private_New(NPMIMEType pluginType, NPP instance, uint16_t mode, int16
 
     NPError err;
     if (windowless) {
+        printf("running in windowless\n");
         NPBool supportsCoreGraphics = FALSE;
         err = NPN_GetValue(instance, NPNVsupportsCoreGraphicsBool, &supportsCoreGraphics);
         if (err != NPERR_NO_ERROR || !supportsCoreGraphics) {
@@ -447,6 +448,7 @@ NPError    Private_New(NPMIMEType pluginType, NPP instance, uint16_t mode, int16
             return NPERR_INCOMPATIBLE_VERSION_ERROR;
         }
     } else {
+        printf("running windowed\n");
         NPBool supportsCoreAnimation = FALSE;
         err = NPN_GetValue(instance, NPNVsupportsCoreAnimationBool, &supportsCoreAnimation);
         if (err != NPERR_NO_ERROR || !supportsCoreAnimation) {



More information about the vlc-commits mailing list