rev |
line source |
jozee@3410
|
1 --- mplayerplug-in-3.55/Source/plugin-list.cpp
|
jozee@3410
|
2 +++ mplayerplug-in-3.55/Source/plugin-list.cpp
|
jozee@3410
|
3 @@ -132,9 +132,9 @@ void insert_area(Node * parent, char *ta
|
jozee@3410
|
4
|
jozee@3410
|
5 void find_area_tags(const char *smilbuffer, Node * parent)
|
jozee@3410
|
6 {
|
jozee@3410
|
7 - char *startarea;
|
jozee@3410
|
8 - char *endvideo;
|
jozee@3410
|
9 - char *start;
|
jozee@3410
|
10 + const char *startarea;
|
jozee@3410
|
11 + const char *endvideo;
|
jozee@3410
|
12 + const char *start;
|
jozee@3410
|
13
|
jozee@3410
|
14 int tagtime = 0;
|
jozee@3410
|
15 char tagtarget[128];
|
jozee@3410
|
16 --- mplayerplug-in-3.55/Source/plugin-setup.h
|
jozee@3410
|
17 +++ mplayerplug-in-3.55/Source/plugin-setup.h
|
jozee@3410
|
18 @@ -174,7 +174,7 @@ char *getURLHostname(char *url);
|
jozee@3410
|
19 char *getURLFilename(const char *url);
|
jozee@3410
|
20 int isMms(char *url, int nomediacache);
|
jozee@3410
|
21 void mmsToHttp(char *dest, char *src);
|
jozee@3410
|
22 -int sendCommand(nsPluginInstance * instance, char *command);
|
jozee@3410
|
23 +int sendCommand(nsPluginInstance * instance, const char *command);
|
jozee@3410
|
24 int URLcmp(const char *url1, const char *url2);
|
jozee@3410
|
25 extern void remove_quotes(char *url);
|
jozee@3410
|
26 void killmplayer(nsPluginInstance * instance);
|
jozee@3410
|
27 --- mplayerplug-in-3.55/Source/plugin-support.cpp
|
jozee@3410
|
28 +++ mplayerplug-in-3.55/Source/plugin-support.cpp
|
jozee@3410
|
29 @@ -109,7 +109,7 @@ char *getURLFilename(const char *url)
|
jozee@3410
|
30 {
|
jozee@3410
|
31
|
jozee@3410
|
32 char *filename;
|
jozee@3410
|
33 - char *tmp;
|
jozee@3410
|
34 + const char *tmp;
|
jozee@3410
|
35 int len;
|
jozee@3410
|
36
|
jozee@3410
|
37 if (DEBUG > 1)
|
jozee@3410
|
38 @@ -454,7 +454,7 @@ void remove_quotes(char *url)
|
jozee@3410
|
39 // in cleanup routines (like destroyCB and shut), when we know that
|
jozee@3410
|
40 // the player thread is not running, it is safe to call without locking
|
jozee@3410
|
41
|
jozee@3410
|
42 -int sendCommand(nsPluginInstance * instance, char *command)
|
jozee@3410
|
43 +int sendCommand(nsPluginInstance * instance, const char *command)
|
jozee@3410
|
44 {
|
jozee@3410
|
45 int retval;
|
jozee@3410
|
46 char buffer[1024];
|
jozee@3410
|
47
|
jozee@3410
|
48 --- mplayerplug-in-3.55/Source/plugin-ui.cpp Thu Jun 12 14:18:01 2008
|
jozee@3410
|
49 +++ mplayerplug-in-3.55/Source/plugin-ui.cpp Fri Jun 12 14:25:35 2009
|
jozee@3410
|
50 @@ -283,12 +283,7 @@
|
jozee@3410
|
51 int term, chop;
|
jozee@3410
|
52 int PercentRedraw;
|
jozee@3410
|
53
|
jozee@3410
|
54 - if (0) {
|
jozee@3410
|
55 - printf("Widget: %p\n", w);
|
jozee@3410
|
56 - printf("Message: %s\n", message);
|
jozee@3410
|
57 - }
|
jozee@3410
|
58 -
|
jozee@3410
|
59 - if (DEBUG > 1)
|
jozee@3410
|
60 + if (DEBUG > 1)
|
jozee@3410
|
61 printf("state = %i, height = %i width = %i\n", instance->state,
|
jozee@3410
|
62 instance->movie_height, instance->movie_width);
|
jozee@3410
|
63
|