From 5a855a238c43f338ce92f550ac24f70e1664d6b6 Mon Sep 17 00:00:00 2001 From: Niels Elburg Date: Tue, 14 Feb 2006 18:48:16 +0000 Subject: [PATCH] Fix mcast sender (receiver still broken) git-svn-id: svn://code.dyne.org/veejay/trunk@551 eb8d1916-c9e9-0310-b8de-cf0c9472ead5 --- veejay-current/veejay/vj-perform.c | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/veejay-current/veejay/vj-perform.c b/veejay-current/veejay/vj-perform.c index 3e945e63..a3c9cb6c 100644 --- a/veejay-current/veejay/vj-perform.c +++ b/veejay-current/veejay/vj-perform.c @@ -965,7 +965,7 @@ int vj_perform_send_primary_frame_s(veejay_t *info, int mcast) return 1; } - info->settings->links[ info->uc->current_link ] = 1; +// info->settings->links[ info->uc->current_link ] = 1; if(!mcast && __global_frame) return 1; // @@ -999,6 +999,17 @@ int vj_perform_send_primary_frame_s(veejay_t *info, int mcast) { } */ + + // mcast frame sender = info->vjs[2] ?? + if(vj_server_send_frame( info->vjs[2], 0, socket_buffer, __socket_len, + helper_frame, info->effect_frame_info, info->real_fps )<=0) + { + /* frame send error handling */ + veejay_msg(VEEJAY_MSG_ERROR, + "Error sending frame to remote"); + /* uncomment below to end veejay session */ + } + return 1; } void vj_perform_send_frame_now( veejay_t *info,int k )