[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gnash-commit] gnash ChangeLog plugin/plugin.cpp plugin/plugin.h
From: |
Sandro Santilli |
Subject: |
[Gnash-commit] gnash ChangeLog plugin/plugin.cpp plugin/plugin.h |
Date: |
Sat, 02 Sep 2006 00:45:56 +0000 |
CVSROOT: /sources/gnash
Module name: gnash
Changes by: Sandro Santilli <strk> 06/09/02 00:45:56
Modified files:
. : ChangeLog
plugin : plugin.cpp plugin.h
Log message:
* plugin/plugin.{cpp,h}: Call gnash with -u switch to set original
movies url.
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.803&r2=1.804
http://cvs.savannah.gnu.org/viewcvs/gnash/plugin/plugin.cpp?cvsroot=gnash&r1=1.46&r2=1.47
http://cvs.savannah.gnu.org/viewcvs/gnash/plugin/plugin.h?cvsroot=gnash&r1=1.17&r2=1.18
Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.803
retrieving revision 1.804
diff -u -b -r1.803 -r1.804
--- ChangeLog 2 Sep 2006 00:40:12 -0000 1.803
+++ ChangeLog 2 Sep 2006 00:45:56 -0000 1.804
@@ -1,5 +1,7 @@
2006-09-01 Sandro Santilli <address@hidden>
+ * plugin/plugin.{cpp,h}: Call gnash with -u switch to set
+ original movies url.
* gui/gnash.cpp, doc/C/gnash.xml: make the -u switch working
and documented.
* server/gnash.h, server/impl.cpp:
Index: plugin/plugin.cpp
===================================================================
RCS file: /sources/gnash/gnash/plugin/plugin.cpp,v
retrieving revision 1.46
retrieving revision 1.47
diff -u -b -r1.46 -r1.47
--- plugin/plugin.cpp 31 Aug 2006 00:01:47 -0000 1.46
+++ plugin/plugin.cpp 2 Sep 2006 00:45:56 -0000 1.47
@@ -466,6 +466,7 @@
}
_swf_file = fname;
+ _swf_url = url;
return NPERR_NO_ERROR;
}
@@ -577,6 +578,7 @@
"-x", xid,
"-j", width,
"-k", height,
+ "-u", const_cast<char*>( _swf_url.c_str() ),
const_cast<char*>( filespec.c_str() ),
0
};
Index: plugin/plugin.h
===================================================================
RCS file: /sources/gnash/gnash/plugin/plugin.h,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -b -r1.17 -r1.18
--- plugin/plugin.h 26 Aug 2006 13:09:52 -0000 1.17
+++ plugin/plugin.h 2 Sep 2006 00:45:56 -0000 1.18
@@ -98,6 +98,7 @@
private:
NPP _instance;
Window _window;
+ std::string _swf_url;
std::string _swf_file;
unsigned int _width;
unsigned int _height;
- [Gnash-commit] gnash ChangeLog plugin/plugin.cpp plugin/plugin.h,
Sandro Santilli <=