multifdsink, multisocketsink: fix broken action signal setup
authorTim-Philipp Müller <tim@centricular.net>
Sun, 9 Sep 2012 00:20:38 +0000 (01:20 +0100)
committerTim-Philipp Müller <tim@centricular.net>
Sun, 9 Sep 2012 00:57:59 +0000 (01:57 +0100)
commit84a3add40979a91b73c809e51a26d25a7d9c720a
tree29ae8ccab382c8bece221e416e510609546d0689
parent175bd55a6612eef705fae02e1afdb7306dbf2ca9
multifdsink, multisocketsink: fix broken action signal setup

We can't just make a vfunc that takes a union of int
and pointer as argument, and then set up subclass-specific
action signals and signals that take int (in multifdsink's
case) or a GSocket * (in multisocketsink's case), and then
expect everything to Just Work. This blows up spectacularly
on PPC G4 for some reason.

Fixes multifdsink unit test on PPC, and fixes aborts in
multisocketunit test (now hangs in gst_pad_push - progress).
gst/tcp/gstmultifdsink.c
gst/tcp/gstmultifdsink.h
gst/tcp/gstmultihandlesink.c
gst/tcp/gstmultihandlesink.h
gst/tcp/gstmultisocketsink.c
gst/tcp/gstmultisocketsink.h