[svn r415] - Bug fix at jobqueue: g_string_free trunk
authormorphbr
Fri Mar 09 17:57:59 2007 +0000 (2007-03-09)
branchtrunk
changeset 4107b062aa36323
parent 409 9e1e3e4916c4
child 411 2127788267bd
[svn r415] - Bug fix at jobqueue: g_string_free
gmyth/src/gmyth_jobqueue.c
gmyth/tests/gmyth_test_transcode.c
     1.1 --- a/gmyth/src/gmyth_jobqueue.c	Fri Mar 09 14:25:51 2007 +0000
     1.2 +++ b/gmyth/src/gmyth_jobqueue.c	Fri Mar 09 17:57:59 2007 +0000
     1.3 @@ -79,7 +79,7 @@
     1.4      gmyth_string_list_append_string (retlist, command);
     1.5      gmyth_socket_write_stringlist (socket, retlist);
     1.6  
     1.7 -    g_free(command);
     1.8 +    g_string_free(command, TRUE);
     1.9  
    1.10      // receive answer
    1.11      gmyth_socket_read_stringlist (socket, retlist);
     2.1 --- a/gmyth/tests/gmyth_test_transcode.c	Fri Mar 09 14:25:51 2007 +0000
     2.2 +++ b/gmyth/tests/gmyth_test_transcode.c	Fri Mar 09 17:57:59 2007 +0000
     2.3 @@ -11,7 +11,7 @@
     2.4      GMythBackendInfo *backend_info;
     2.5      GMythTranscoder *transcode;
     2.6      g_type_init ();
     2.7 -    //g_thread_init (NULL);
     2.8 +    g_thread_init (NULL);
     2.9  
    2.10      backend_info = gmyth_backend_info_new ();
    2.11      gmyth_backend_info_set_hostname (backend_info, "192.168.3.165");
    2.12 @@ -25,7 +25,7 @@
    2.13  
    2.14      gmyth_transcoder_set_output (transcode, TRUE, "/tmp/teste.mp4");
    2.15      gmyth_transcoder_set_filename (transcode, "1000_20061207123000.nuv");
    2.16 -
    2.17 +    //gmyth_transcoder_set_filename (transcode, "1000_20061213130000.nuv");
    2.18      int teste = gmyth_jobqueue_add_job(transcode, "JOB_TRANSCODE");
    2.19  
    2.20      teste = gmyth_jobqueue_change_cmd(transcode, "STOP", "JOB_TRANSCODE");