Update of /cvsroot/playerstage/code/player/utils/playerv
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv27317/playerv

Modified Files:
        playerv.c 
Log Message:
added log converter

Index: playerv.c
===================================================================
RCS file: /cvsroot/playerstage/code/player/utils/playerv/playerv.c,v
retrieving revision 1.49
retrieving revision 1.50
diff -C2 -d -r1.49 -r1.50
*** playerv.c   20 Aug 2007 19:42:49 -0000      1.49
--- playerv.c   2 Nov 2007 00:28:25 -0000       1.50
***************
*** 198,202 ****
      port = opt_get_int(opt, "", "p", 6665);
  
!   pull = opt_get_int(opt, "", "pull", 0);
  
    // Connect to the server
--- 198,202 ----
      port = opt_get_int(opt, "", "p", 6665);
  
!   pull = opt_get_int(opt, "", "pull", 1);
  
    // Connect to the server
***************
*** 210,218 ****
    }
  
!   if (0 != pull)
    {
!     printf("Setting delivery mode to PLAYER_DATAMODE_PULL\n", host, port);
      // Change the server's data delivery mode.
!     if (playerc_client_set_replace_rule(client, -1, -1, -1, -1, 1) != 0)
      {
        PRINT_ERR1("%s", playerc_error_str());
--- 210,218 ----
    }
  
!   if (0 == pull)
    {
!     printf("Setting delivery mode to PLAYER_DATAMODE_PUSH\n", host, port);
      // Change the server's data delivery mode.
!     if (playerc_client_set_replace_rule(client, -1, -1, -1, -1, 0) != 0)
      {
        PRINT_ERR1("%s", playerc_error_str());
***************
*** 222,226 ****
      // Change the server's data delivery mode.
      // PLAYERC_DATAMODE_PUSH, PLAYERC_DATAMODE_PULL
!     if (playerc_client_datamode(client, PLAYERC_DATAMODE_PULL) != 0)
      {
        PRINT_ERR1("%s", playerc_error_str());
--- 222,226 ----
      // Change the server's data delivery mode.
      // PLAYERC_DATAMODE_PUSH, PLAYERC_DATAMODE_PULL
!     if (playerc_client_datamode(client, PLAYERC_DATAMODE_PUSH) != 0)
      {
        PRINT_ERR1("%s", playerc_error_str());


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Playerstage-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/playerstage-commit

Reply via email to