diff options
Diffstat (limited to 'client/decoder.cc')
-rw-r--r-- | client/decoder.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/client/decoder.cc b/client/decoder.cc index ef2185c..1a85db7 100644 --- a/client/decoder.cc +++ b/client/decoder.cc @@ -44,8 +44,9 @@ #include "libdv_wrapper.h" -Decoder::Decoder(): closesem(1) +Decoder::Decoder(NetworkSender *ns): closesem(1) { + sender = ns; running = true; memset(pframe, 0, sizeof(pframe)); // Init an empty frame qApp->installEventFilter(this); |