diff options
author | Lyubomir Marinov <lyubomir.marinov@jitsi.org> | 2013-01-16 18:30:34 +0000 |
---|---|---|
committer | Lyubomir Marinov <lyubomir.marinov@jitsi.org> | 2013-01-16 18:30:34 +0000 |
commit | 5cd26f3ec91cee3d0c9bf41082c6d6b932407542 (patch) | |
tree | 6b581ea1651ec8319bfb75a0dbd85b285c13000a /src/net/java/sip/communicator/impl/gui/main/call/OneToOneCallPeerPanel.java | |
parent | acca18280a8f6dd9230d4321333e16ecb3c699f0 (diff) | |
download | jitsi-5cd26f3ec91cee3d0c9bf41082c6d6b932407542.zip jitsi-5cd26f3ec91cee3d0c9bf41082c6d6b932407542.tar.gz jitsi-5cd26f3ec91cee3d0c9bf41082c6d6b932407542.tar.bz2 |
Restores black background in video calls (which got recently broken/removed).
Diffstat (limited to 'src/net/java/sip/communicator/impl/gui/main/call/OneToOneCallPeerPanel.java')
-rw-r--r-- | src/net/java/sip/communicator/impl/gui/main/call/OneToOneCallPeerPanel.java | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/src/net/java/sip/communicator/impl/gui/main/call/OneToOneCallPeerPanel.java b/src/net/java/sip/communicator/impl/gui/main/call/OneToOneCallPeerPanel.java index b664dc5..cbea0b3 100644 --- a/src/net/java/sip/communicator/impl/gui/main/call/OneToOneCallPeerPanel.java +++ b/src/net/java/sip/communicator/impl/gui/main/call/OneToOneCallPeerPanel.java @@ -15,7 +15,6 @@ import javax.swing.*; import javax.swing.text.*; import net.java.sip.communicator.impl.gui.*; -import net.java.sip.communicator.impl.gui.main.call.conference.*; import net.java.sip.communicator.impl.gui.utils.*; import net.java.sip.communicator.service.protocol.*; import net.java.sip.communicator.service.protocol.event.*; @@ -1376,26 +1375,6 @@ public class OneToOneCallPeerPanel this.remoteVideo = remoteVideo; } } - - /* - * If video is depicted, it will usually look better when it is - * displayed on a black background. - */ - if (VideoConferenceCallPanel.VIDEO_CONTAINER_BACKGROUND != null) - { - if ((this.localVideo == null) && (this.remoteVideo == null)) - { - center.setBackground( - VideoConferenceCallPanel - .VIDEO_CONTAINER_BACKGROUND); - center.setOpaque(true); - } - else - { - center.setBackground(null); - center.setOpaque(false); - } - } } } } |