Mercurial > mplayer.hg
annotate libvo/vo_xv.c @ 322:4e69a8e2700a
Screensaver and monitor powersafe function is switched off when playing a
movie.
author | laaz |
---|---|
date | Mon, 09 Apr 2001 22:27:27 +0000 |
parents | 2dadc379a934 |
children | 720c640332c8 |
rev | line source |
---|---|
1 | 1 |
182 | 2 /* |
3 * vo_xv.c, X11 Xv interface | |
1 | 4 * |
182 | 5 * Copyright (C) 1996, MPEG Software Simulation Group. All Rights Reserved. |
1 | 6 * |
7 * Hacked into mpeg2dec by | |
182 | 8 * |
1 | 9 * Aaron Holtzman <aholtzma@ess.engr.uvic.ca> |
10 * | |
11 * Xv image suuport by Gerd Knorr <kraxel@goldbach.in-berlin.de> | |
12 */ | |
13 | |
14 #include <stdio.h> | |
15 #include <stdlib.h> | |
16 #include <string.h> | |
17 | |
18 #include "config.h" | |
19 #include "video_out.h" | |
20 #include "video_out_internal.h" | |
21 | |
22 LIBVO_EXTERN(xv) | |
23 | |
24 #include <X11/Xlib.h> | |
25 #include <X11/Xutil.h> | |
26 #include <X11/extensions/XShm.h> | |
322
4e69a8e2700a
Screensaver and monitor powersafe function is switched off when playing a
laaz
parents:
249
diff
changeset
|
27 #include <X11/extensions/dpms.h> |
1 | 28 #include <errno.h> |
29 | |
31 | 30 #include "x11_common.h" |
31 | |
182 | 32 static vo_info_t vo_info = |
1 | 33 { |
182 | 34 "X11/Xv", |
35 "xv", | |
36 "Gerd Knorr <kraxel@goldbach.in-berlin.de>", | |
37 "" | |
1 | 38 }; |
39 | |
40 /* since it doesn't seem to be defined on some platforms */ | |
41 int XShmGetEventBase(Display*); | |
42 | |
43 /* local data */ | |
44 static unsigned char *ImageData; | |
45 | |
46 /* X11 related variables */ | |
47 static Display *mydisplay; | |
48 static Window mywindow; | |
49 static GC mygc; | |
50 static XImage *myximage; | |
51 static int depth, bpp, mode; | |
52 static XWindowAttributes attribs; | |
53 | |
54 #include <X11/extensions/Xv.h> | |
55 #include <X11/extensions/Xvlib.h> | |
56 // FIXME: dynamically allocate this stuff | |
57 static void allocate_xvimage(int); | |
58 static unsigned int ver,rel,req,ev,err; | |
59 static unsigned int formats, adaptors,i,xv_port,xv_format; | |
60 static XvAdaptorInfo *ai; | |
61 static XvImageFormatValues *fo; | |
62 static XvImage *xvimage[1]; | |
63 | |
64 #include <sys/ipc.h> | |
65 #include <sys/shm.h> | |
66 #include <X11/extensions/XShm.h> | |
67 | |
68 static int Shmem_Flag; | |
69 static int Quiet_Flag; | |
70 static XShmSegmentInfo Shminfo[1]; | |
71 static int gXErrorFlag; | |
72 static int CompletionType = -1; | |
73 | |
74 static uint32_t image_width; | |
75 static uint32_t image_height; | |
76 static uint32_t image_format; | |
77 | |
182 | 78 static Window mRoot; |
79 static uint32_t drwX,drwY,drwWidth,drwHeight,drwBorderWidth,drwDepth; | |
80 static uint32_t drwcX,drwcY,dwidth,dheight,mFullscreen; | |
1 | 81 |
322
4e69a8e2700a
Screensaver and monitor powersafe function is switched off when playing a
laaz
parents:
249
diff
changeset
|
82 static int timeout_save=0; |
4e69a8e2700a
Screensaver and monitor powersafe function is switched off when playing a
laaz
parents:
249
diff
changeset
|
83 static int dpms_disabled=0; |
4e69a8e2700a
Screensaver and monitor powersafe function is switched off when playing a
laaz
parents:
249
diff
changeset
|
84 |
182 | 85 /* |
86 * connect to server, create and map window, | |
1 | 87 * allocate colors and (shared) memory |
88 */ | |
182 | 89 static uint32_t init(uint32_t width, uint32_t height, uint32_t d_width, uint32_t d_height, uint32_t fullscreen, char *title, uint32_t format) |
1 | 90 { |
182 | 91 int screen; |
322
4e69a8e2700a
Screensaver and monitor powersafe function is switched off when playing a
laaz
parents:
249
diff
changeset
|
92 int nothing, interval, prefer_blank, allow_exp; |
182 | 93 char *hello = (title == NULL) ? "Xv render" : title; |
94 char *name = ":0.0"; | |
95 XSizeHints hint; | |
96 XVisualInfo vinfo; | |
97 XEvent xev; | |
1 | 98 |
182 | 99 XGCValues xgcv; |
100 XSetWindowAttributes xswa; | |
101 unsigned long xswamask; | |
1 | 102 |
182 | 103 image_height = height; |
104 image_width = width; | |
105 image_format=format; | |
1 | 106 |
182 | 107 mFullscreen=fullscreen; |
108 dwidth=d_width; dheight=d_height; | |
1 | 109 |
182 | 110 if(getenv("DISPLAY")) name = getenv("DISPLAY"); |
1 | 111 |
182 | 112 mydisplay = XOpenDisplay(name); |
1 | 113 |
182 | 114 if (mydisplay == NULL) |
115 { | |
116 fprintf(stderr,"Can't open display\n"); | |
117 return -1; | |
118 } | |
1 | 119 |
182 | 120 screen = DefaultScreen(mydisplay); |
1 | 121 |
182 | 122 hint.x = 0; |
123 hint.y = 0; | |
124 hint.width = image_width; | |
125 hint.height = image_height; | |
126 if ( fullscreen ) | |
127 { | |
128 hint.width=vo_screenwidth; | |
129 hint.height=vo_screenheight; | |
130 } | |
131 hint.flags = PPosition | PSize; | |
132 XGetWindowAttributes(mydisplay, DefaultRootWindow(mydisplay), &attribs); | |
133 depth=attribs.depth; | |
134 if (depth != 15 && depth != 16 && depth != 24 && depth != 32) depth = 24; | |
135 XMatchVisualInfo(mydisplay, screen, depth, TrueColor, &vinfo); | |
1 | 136 |
182 | 137 xswa.background_pixel = 0; |
138 xswa.border_pixel = 0; | |
139 xswamask = CWBackPixel | CWBorderPixel; | |
1 | 140 |
182 | 141 mywindow = XCreateWindow(mydisplay, RootWindow(mydisplay,screen), |
142 hint.x, hint.y, hint.width, hint.height, | |
143 0, depth,CopyFromParent,vinfo.visual,xswamask,&xswa); | |
1 | 144 |
182 | 145 XSelectInput(mydisplay, mywindow, StructureNotifyMask | KeyPressMask ); |
146 XSetStandardProperties(mydisplay, mywindow, hello, hello, None, NULL, 0, &hint); | |
147 if ( fullscreen ) vo_x11_decoration( mydisplay,mywindow,0 ); | |
148 XMapWindow(mydisplay, mywindow); | |
149 XFlush(mydisplay); | |
150 XSync(mydisplay, False); | |
1 | 151 |
182 | 152 mygc = XCreateGC(mydisplay, mywindow, 0L, &xgcv); |
1 | 153 |
182 | 154 xv_port = 0; |
155 if (Success == XvQueryExtension(mydisplay,&ver,&rel,&req,&ev,&err)) | |
156 { | |
157 /* check for Xvideo support */ | |
158 if (Success != XvQueryAdaptors(mydisplay,DefaultRootWindow(mydisplay), &adaptors,&ai)) | |
159 { | |
160 fprintf(stderr,"Xv: XvQueryAdaptors failed"); | |
161 return -1; | |
162 } | |
163 /* check adaptors */ | |
164 for (i = 0; i < adaptors; i++) | |
165 { | |
166 if ((ai[i].type & XvInputMask) && (ai[i].type & XvImageMask) && (xv_port == 0)) xv_port = ai[i].base_id; | |
167 } | |
168 /* check image formats */ | |
169 if (xv_port != 0) | |
170 { | |
171 fo = XvListImageFormats(mydisplay, xv_port, (int*)&formats); | |
172 xv_format=0; | |
173 for(i = 0; i < formats; i++) | |
174 { | |
175 fprintf(stderr, "Xvideo image format: 0x%x (%4.4s) %s\n", fo[i].id,(char*)&fo[i].id, (fo[i].format == XvPacked) ? "packed" : "planar"); | |
1 | 176 |
182 | 177 if (fo[i].id == format) |
178 { | |
179 xv_format = fo[i].id; | |
180 } | |
181 } | |
182 if (!xv_format) xv_port = 0; | |
183 } | |
184 | |
185 if (xv_port != 0) | |
186 { | |
187 fprintf( stderr,"using Xvideo port %d for hw scaling\n",xv_port ); | |
188 | |
189 allocate_xvimage(0); | |
1 | 190 |
182 | 191 XGetGeometry( mydisplay,mywindow,&mRoot,&drwX,&drwY,&drwWidth,&drwHeight,&drwBorderWidth,&drwDepth ); |
192 drwX=0; drwY=0; | |
193 XTranslateCoordinates( mydisplay,mywindow,mRoot,0,0,&drwcX,&drwcY,&mRoot ); | |
194 fprintf( stderr,"[xv] dcx: %d dcy: %d dx: %d dy: %d dw: %d dh: %d\n",drwcX,drwcY,drwX,drwY,drwWidth,drwHeight ); | |
1 | 195 |
182 | 196 if ( mFullscreen ) |
197 { | |
198 drwX=( vo_screenwidth - (dwidth > vo_screenwidth?vo_screenwidth:dwidth) ) / 2; | |
199 drwcX+=drwX; | |
200 drwY=( vo_screenheight - (dheight > vo_screenheight?vo_screenheight:dheight) ) / 2; | |
201 drwcY+=drwY; | |
202 drwWidth=(dwidth > vo_screenwidth?vo_screenwidth:dwidth); | |
203 drwHeight=(dheight > vo_screenheight?vo_screenheight:dheight); | |
204 fprintf( stderr,"[xv-fs] dcx: %d dcy: %d dx: %d dy: %d dw: %d dh: %d\n",drwcX,drwcY,drwX,drwY,drwWidth,drwHeight ); | |
205 } | |
322
4e69a8e2700a
Screensaver and monitor powersafe function is switched off when playing a
laaz
parents:
249
diff
changeset
|
206 |
4e69a8e2700a
Screensaver and monitor powersafe function is switched off when playing a
laaz
parents:
249
diff
changeset
|
207 if (DPMSQueryExtension(mydisplay, ¬hing, ¬hing)) |
4e69a8e2700a
Screensaver and monitor powersafe function is switched off when playing a
laaz
parents:
249
diff
changeset
|
208 { |
4e69a8e2700a
Screensaver and monitor powersafe function is switched off when playing a
laaz
parents:
249
diff
changeset
|
209 BOOL onoff; |
4e69a8e2700a
Screensaver and monitor powersafe function is switched off when playing a
laaz
parents:
249
diff
changeset
|
210 CARD16 state; |
4e69a8e2700a
Screensaver and monitor powersafe function is switched off when playing a
laaz
parents:
249
diff
changeset
|
211 DPMSInfo(mydisplay, &state, &onoff); |
4e69a8e2700a
Screensaver and monitor powersafe function is switched off when playing a
laaz
parents:
249
diff
changeset
|
212 if (onoff) |
4e69a8e2700a
Screensaver and monitor powersafe function is switched off when playing a
laaz
parents:
249
diff
changeset
|
213 { |
4e69a8e2700a
Screensaver and monitor powersafe function is switched off when playing a
laaz
parents:
249
diff
changeset
|
214 dpms_disabled=1; |
4e69a8e2700a
Screensaver and monitor powersafe function is switched off when playing a
laaz
parents:
249
diff
changeset
|
215 DPMSDisable(mydisplay); // monitor powersave off |
4e69a8e2700a
Screensaver and monitor powersafe function is switched off when playing a
laaz
parents:
249
diff
changeset
|
216 } |
4e69a8e2700a
Screensaver and monitor powersafe function is switched off when playing a
laaz
parents:
249
diff
changeset
|
217 } |
4e69a8e2700a
Screensaver and monitor powersafe function is switched off when playing a
laaz
parents:
249
diff
changeset
|
218 |
4e69a8e2700a
Screensaver and monitor powersafe function is switched off when playing a
laaz
parents:
249
diff
changeset
|
219 XGetScreenSaver(mydisplay, &timeout_save, &interval, &prefer_blank, &allow_exp); |
4e69a8e2700a
Screensaver and monitor powersafe function is switched off when playing a
laaz
parents:
249
diff
changeset
|
220 if (timeout_save) |
4e69a8e2700a
Screensaver and monitor powersafe function is switched off when playing a
laaz
parents:
249
diff
changeset
|
221 XSetScreenSaver(mydisplay, 0, interval, prefer_blank, allow_exp); |
4e69a8e2700a
Screensaver and monitor powersafe function is switched off when playing a
laaz
parents:
249
diff
changeset
|
222 // switching off screensaver |
4e69a8e2700a
Screensaver and monitor powersafe function is switched off when playing a
laaz
parents:
249
diff
changeset
|
223 |
182 | 224 return 0; |
225 } | |
226 } | |
1 | 227 |
182 | 228 printf("Sorry, Xv not supported by this X11 version/driver\n"); |
229 printf("******** Try with -vo x11 or -vo sdl *********\n"); | |
230 return 1; | |
1 | 231 } |
232 | |
182 | 233 static const vo_info_t * get_info(void) |
234 { return &vo_info; } | |
1 | 235 |
182 | 236 static void allocate_xvimage(int foo) |
1 | 237 { |
182 | 238 /* |
239 * allocate XvImages. FIXME: no error checking, without | |
240 * mit-shm this will bomb... | |
241 */ | |
242 xvimage[foo] = XvShmCreateImage(mydisplay, xv_port, xv_format, 0, image_width, image_height, &Shminfo[foo]); | |
1 | 243 |
182 | 244 Shminfo[foo].shmid = shmget(IPC_PRIVATE, xvimage[foo]->data_size, IPC_CREAT | 0777); |
245 Shminfo[foo].shmaddr = (char *) shmat(Shminfo[foo].shmid, 0, 0); | |
246 Shminfo[foo].readOnly = False; | |
1 | 247 |
182 | 248 xvimage[foo]->data = Shminfo[foo].shmaddr; |
249 XShmAttach(mydisplay, &Shminfo[foo]); | |
250 XSync(mydisplay, False); | |
251 shmctl(Shminfo[foo].shmid, IPC_RMID, 0); | |
252 memset(xvimage[foo]->data,128,xvimage[foo]->data_size); | |
253 return; | |
1 | 254 } |
255 | |
31 | 256 static void check_events(void) |
1 | 257 { |
182 | 258 int e=vo_x11_check_events(mydisplay); |
259 if(e&VO_EVENT_RESIZE) | |
260 { | |
261 XGetGeometry( mydisplay,mywindow,&mRoot,&drwX,&drwY,&drwWidth,&drwHeight,&drwBorderWidth,&drwDepth ); | |
262 drwX=0; drwY=0; | |
263 XTranslateCoordinates( mydisplay,mywindow,mRoot,0,0,&drwcX,&drwcY,&mRoot ); | |
264 fprintf( stderr,"[xv] dcx: %d dcy: %d dx: %d dy: %d dw: %d dh: %d\n",drwcX,drwcY,drwX,drwY,drwWidth,drwHeight ); | |
1 | 265 |
182 | 266 if ( mFullscreen ) |
267 { | |
268 drwX=( vo_screenwidth - (dwidth > vo_screenwidth?vo_screenwidth:dwidth) ) / 2; | |
269 drwcX+=drwX; | |
270 drwY=( vo_screenheight - (dheight > vo_screenheight?vo_screenheight:dheight) ) / 2; | |
271 drwcY+=drwY; | |
272 drwWidth=(dwidth > vo_screenwidth?vo_screenwidth:dwidth); | |
273 drwHeight=(dheight > vo_screenheight?vo_screenheight:dheight); | |
274 fprintf( stderr,"[xv-fs] dcx: %d dcy: %d dx: %d dy: %d dw: %d dh: %d\n",drwcX,drwcY,drwX,drwY,drwWidth,drwHeight ); | |
275 } | |
276 } | |
1 | 277 } |
278 | |
247 | 279 |
280 static void draw_alpha(int x0,int y0, int w,int h, unsigned char* src, unsigned char *srca, int stride){ | |
281 int x,y; | |
282 | |
283 if (xv_format==IMGFMT_YV12){ | |
284 | |
285 for(y=0;y<h;y++){ | |
286 uint8_t *dst = xvimage[0]->data + image_width * (y+y0) + x0; | |
287 for(x=0;x<w;x++){ | |
288 // dst[x]=(dst[x]*srca[x]+src[x]*(srca[x]^255))>>8; | |
289 if(srca[x]) | |
249 | 290 // dst[x]=(dst[x]*(srca[x]^255)+src[x]*(srca[x]))>>8; |
291 dst[x]=((dst[x]*srca[x])>>8)+src[x]; | |
247 | 292 } |
293 src+=stride; | |
294 srca+=stride; | |
295 } | |
296 | |
297 } else { | |
298 | |
299 for(y=0;y<h;y++){ | |
300 uint8_t *dst = xvimage[0]->data + 2*(image_width * (y+y0) + x0); | |
301 for(x=0;x<w;x++){ | |
302 // dst[x]=(dst[x]*srca[x]+src[x]*(srca[x]^255))>>8; | |
303 if(srca[x]) | |
249 | 304 // dst[2*x]=(dst[2*x]*(srca[x]^255)+src[x]*(srca[x]))>>8; |
305 dst[2*x]=((dst[2*x]*srca[x])>>8)+src[x]; | |
247 | 306 } |
307 src+=stride; | |
308 srca+=stride; | |
309 } | |
310 | |
311 } | |
312 | |
313 } | |
314 | |
182 | 315 static void flip_page(void) |
1 | 316 { |
247 | 317 vo_draw_text(image_width,image_height,draw_alpha); |
182 | 318 check_events(); |
319 XvShmPutImage(mydisplay, xv_port, mywindow, mygc, xvimage[0], | |
320 0, 0, image_width, image_height, | |
321 drwX,drwY,drwWidth,(mFullscreen?drwHeight - 1:drwHeight), | |
322 False); | |
323 XFlush(mydisplay); | |
324 return; | |
1 | 325 } |
326 | |
247 | 327 |
328 | |
182 | 329 static uint32_t draw_slice(uint8_t *image[], int stride[], int w,int h,int x,int y) |
1 | 330 { |
182 | 331 uint8_t *src; |
332 uint8_t *dst; | |
333 int i; | |
334 | |
335 dst = xvimage[0]->data + image_width * y + x; | |
336 src = image[0]; | |
337 if(w==stride[0] && w==image_width) memcpy(dst,src,w*h); | |
338 else | |
339 for(i=0;i<h;i++) | |
340 { | |
341 memcpy(dst,src,w); | |
342 src+=stride[0]; | |
343 dst+=image_width; | |
344 } | |
345 | |
346 x/=2;y/=2;w/=2;h/=2; | |
1 | 347 |
182 | 348 dst = xvimage[0]->data + image_width * image_height + image_width/2 * y + x; |
349 src = image[2]; | |
350 if(w==stride[2] && w==image_width/2) memcpy(dst,src,w*h); | |
351 else | |
352 for(i=0;i<h;i++) | |
353 { | |
354 memcpy(dst,src,w); | |
355 src+=stride[2]; | |
356 dst+=image_width/2; | |
357 } | |
358 dst = xvimage[0]->data + image_width * image_height * 5 / 4 + image_width/2 * y + x; | |
359 src = image[1]; | |
360 if(w==stride[1] && w==image_width/2) memcpy(dst,src,w*h); | |
361 else | |
362 for(i=0;i<h;i++) | |
363 { | |
364 memcpy(dst,src,w); | |
365 src+=stride[1]; | |
366 dst+=image_width/2; | |
367 } | |
368 return 0; | |
1 | 369 } |
370 | |
182 | 371 static uint32_t draw_frame(uint8_t *src[]) |
1 | 372 { |
182 | 373 int foo; |
1 | 374 |
182 | 375 if(xv_format==IMGFMT_YUY2) |
376 { | |
377 // YUY2 packed, flipped | |
1 | 378 #if 0 |
182 | 379 int i; |
380 unsigned short *s=(unsigned short *)src[0]; | |
381 unsigned short *d=(unsigned short *)xvimage[0]->data; | |
382 s+=image_width*image_height; | |
383 for(i=0;i<image_height;i++) | |
384 { | |
385 s-=image_width; | |
386 memcpy(d,s,image_width*2); | |
387 d+=image_width; | |
388 } | |
1 | 389 #else |
182 | 390 memcpy(xvimage[0]->data,src[0],image_width*image_height*2); |
1 | 391 #endif |
182 | 392 } |
393 else | |
394 { | |
395 // YV12 planar | |
396 memcpy(xvimage[0]->data,src[0],image_width*image_height); | |
397 memcpy(xvimage[0]->data+image_width*image_height,src[2],image_width*image_height/4); | |
398 memcpy(xvimage[0]->data+image_width*image_height*5/4,src[1],image_width*image_height/4); | |
399 } | |
400 | |
401 return 0; | |
1 | 402 } |
403 | |
182 | 404 static uint32_t query_format(uint32_t format) |
1 | 405 { |
182 | 406 switch(format) |
407 { | |
408 case IMGFMT_YV12: | |
409 case IMGFMT_YUY2: return 1; | |
410 } | |
411 return 0; | |
1 | 412 } |
413 | |
322
4e69a8e2700a
Screensaver and monitor powersafe function is switched off when playing a
laaz
parents:
249
diff
changeset
|
414 static void uninit(void) { |
4e69a8e2700a
Screensaver and monitor powersafe function is switched off when playing a
laaz
parents:
249
diff
changeset
|
415 int nothing; |
4e69a8e2700a
Screensaver and monitor powersafe function is switched off when playing a
laaz
parents:
249
diff
changeset
|
416 if (DPMSQueryExtension(mydisplay, ¬hing, ¬hing)) |
4e69a8e2700a
Screensaver and monitor powersafe function is switched off when playing a
laaz
parents:
249
diff
changeset
|
417 { |
4e69a8e2700a
Screensaver and monitor powersafe function is switched off when playing a
laaz
parents:
249
diff
changeset
|
418 if (dpms_disabled) |
4e69a8e2700a
Screensaver and monitor powersafe function is switched off when playing a
laaz
parents:
249
diff
changeset
|
419 { |
4e69a8e2700a
Screensaver and monitor powersafe function is switched off when playing a
laaz
parents:
249
diff
changeset
|
420 DPMSEnable(mydisplay); // restoring power saving settings |
4e69a8e2700a
Screensaver and monitor powersafe function is switched off when playing a
laaz
parents:
249
diff
changeset
|
421 DPMSQueryExtension(mydisplay, ¬hing, ¬hing); |
4e69a8e2700a
Screensaver and monitor powersafe function is switched off when playing a
laaz
parents:
249
diff
changeset
|
422 } |
4e69a8e2700a
Screensaver and monitor powersafe function is switched off when playing a
laaz
parents:
249
diff
changeset
|
423 } |
4e69a8e2700a
Screensaver and monitor powersafe function is switched off when playing a
laaz
parents:
249
diff
changeset
|
424 |
4e69a8e2700a
Screensaver and monitor powersafe function is switched off when playing a
laaz
parents:
249
diff
changeset
|
425 if (timeout_save) |
4e69a8e2700a
Screensaver and monitor powersafe function is switched off when playing a
laaz
parents:
249
diff
changeset
|
426 { |
4e69a8e2700a
Screensaver and monitor powersafe function is switched off when playing a
laaz
parents:
249
diff
changeset
|
427 int interval, prefer_blank, allow_exp, dummy; |
4e69a8e2700a
Screensaver and monitor powersafe function is switched off when playing a
laaz
parents:
249
diff
changeset
|
428 XGetScreenSaver(mydisplay, &dummy, &interval, &prefer_blank, &allow_exp); |
4e69a8e2700a
Screensaver and monitor powersafe function is switched off when playing a
laaz
parents:
249
diff
changeset
|
429 XSetScreenSaver(mydisplay, timeout_save, interval, prefer_blank, allow_exp); |
4e69a8e2700a
Screensaver and monitor powersafe function is switched off when playing a
laaz
parents:
249
diff
changeset
|
430 XGetScreenSaver(mydisplay, &timeout_save, &interval, &prefer_blank, &allow_exp); |
4e69a8e2700a
Screensaver and monitor powersafe function is switched off when playing a
laaz
parents:
249
diff
changeset
|
431 } |
4e69a8e2700a
Screensaver and monitor powersafe function is switched off when playing a
laaz
parents:
249
diff
changeset
|
432 |
4e69a8e2700a
Screensaver and monitor powersafe function is switched off when playing a
laaz
parents:
249
diff
changeset
|
433 |
4e69a8e2700a
Screensaver and monitor powersafe function is switched off when playing a
laaz
parents:
249
diff
changeset
|
434 } |
1 | 435 |
436 | |
437 |