[MPlayer-dev-eng] [PATCH] Network synchronized playback using UDP

Jason Holt jholt at google.com
Wed Sep 1 03:59:59 CEST 2010


> I'd like to apply it, but the patch is incomplete, it is missing udp_sync.c
> and udp_sync.h...

Thanks Diego!  Sorry for the delay and the broken patch #26.  The
attached patch #27 adds checks for CONFIG_NETWORKING and
HAVE_WINSOCK2_H.  It compiles fine for me on linux with and without
--disable-networking.  And it includes udp_sync.[ch].

> SRCS_MPLAYER-$(NETWORK)               += udp_sync.c

Fixed.

>> +    if (udp_slave) {
>> +      int udp_master_exited = udp_slave_sync(mpctx);
>> +      if (udp_master_exited) {
>> +            mp_msg(MSGT_CPLAYER, MSGL_INFO, MSGTR_MasterQuit);
>> +            exit_player(EXIT_QUIT);
>> +      }
>> +      return 0;
>> +    }
>
> Indentation is off.

Fixed.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mplayer-udp-patch-27.diff
Type: text/x-patch
Size: 16600 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20100831/7a53a176/attachment.bin>


More information about the MPlayer-dev-eng mailing list