# HG changeset patch # User morphbr # Date 1173463079 0 # Node ID 7b062aa36323ae6e1914f37b973df3f4bb18429a # Parent 9e1e3e4916c41c2a865e49412ad768ed463bd6ca [svn r415] - Bug fix at jobqueue: g_string_free diff -r 9e1e3e4916c4 -r 7b062aa36323 gmyth/src/gmyth_jobqueue.c --- a/gmyth/src/gmyth_jobqueue.c Fri Mar 09 14:25:51 2007 +0000 +++ b/gmyth/src/gmyth_jobqueue.c Fri Mar 09 17:57:59 2007 +0000 @@ -79,7 +79,7 @@ gmyth_string_list_append_string (retlist, command); gmyth_socket_write_stringlist (socket, retlist); - g_free(command); + g_string_free(command, TRUE); // receive answer gmyth_socket_read_stringlist (socket, retlist); diff -r 9e1e3e4916c4 -r 7b062aa36323 gmyth/tests/gmyth_test_transcode.c --- a/gmyth/tests/gmyth_test_transcode.c Fri Mar 09 14:25:51 2007 +0000 +++ b/gmyth/tests/gmyth_test_transcode.c Fri Mar 09 17:57:59 2007 +0000 @@ -11,7 +11,7 @@ GMythBackendInfo *backend_info; GMythTranscoder *transcode; g_type_init (); - //g_thread_init (NULL); + g_thread_init (NULL); backend_info = gmyth_backend_info_new (); gmyth_backend_info_set_hostname (backend_info, "192.168.3.165"); @@ -25,7 +25,7 @@ gmyth_transcoder_set_output (transcode, TRUE, "/tmp/teste.mp4"); gmyth_transcoder_set_filename (transcode, "1000_20061207123000.nuv"); - + //gmyth_transcoder_set_filename (transcode, "1000_20061213130000.nuv"); int teste = gmyth_jobqueue_add_job(transcode, "JOB_TRANSCODE"); teste = gmyth_jobqueue_change_cmd(transcode, "STOP", "JOB_TRANSCODE");