comparison libvo/vo_direct3d.c @ 28027:f210d48c4396

Cosmetics: remove spaces before argument (
author reimar
date Tue, 02 Dec 2008 09:38:24 +0000
parents ace2f84df2bd
children 62ccb6c80212
comparison
equal deleted inserted replaced
28026:ace2f84df2bd 28027:f210d48c4396
506 static int preinit(const char *arg) 506 static int preinit(const char *arg)
507 { 507 {
508 D3DDISPLAYMODE disp_mode; 508 D3DDISPLAYMODE disp_mode;
509 509
510 /* Set to zero all global variables. */ 510 /* Set to zero all global variables. */
511 priv = calloc(1, sizeof (struct global_priv)); 511 priv = calloc(1, sizeof(struct global_priv));
512 if (!priv) { 512 if (!priv) {
513 mp_msg(MSGT_VO, MSGL_ERR, "<vo_direct3d>Not enough memory\r\n"); 513 mp_msg(MSGT_VO, MSGL_ERR, "<vo_direct3d>Not enough memory\r\n");
514 return -1; 514 return -1;
515 } 515 }
516 516
592 return VO_TRUE; 592 return VO_TRUE;
593 case VOCTRL_UPDATE_SCREENINFO: 593 case VOCTRL_UPDATE_SCREENINFO:
594 w32_update_xinerama_info(); 594 w32_update_xinerama_info();
595 return VO_TRUE; 595 return VO_TRUE;
596 case VOCTRL_SET_PANSCAN: 596 case VOCTRL_SET_PANSCAN:
597 calc_fs_rect (); 597 calc_fs_rect();
598 return VO_TRUE; 598 return VO_TRUE;
599 case VOCTRL_GET_PANSCAN: 599 case VOCTRL_GET_PANSCAN:
600 return VO_TRUE; 600 return VO_TRUE;
601 } 601 }
602 return VO_FALSE; 602 return VO_FALSE;
687 { 687 {
688 mp_msg(MSGT_VO, MSGL_V, "<vo_direct3d>Uninitialization\r\n"); 688 mp_msg(MSGT_VO, MSGL_V, "<vo_direct3d>Uninitialization\r\n");
689 689
690 uninit_d3d(); 690 uninit_d3d();
691 vo_w32_uninit(); /* w32_common framework call */ 691 vo_w32_uninit(); /* w32_common framework call */
692 free (priv); 692 free(priv);
693 priv = NULL; 693 priv = NULL;
694 } 694 }
695 695
696 /** @brief libvo Callback: Handles video window events. 696 /** @brief libvo Callback: Handles video window events.
697 * @return N/A 697 * @return N/A