diff options
Diffstat (limited to 'src/net/java/sip/communicator/impl/neomedia/device/MediaDeviceSession.java')
-rw-r--r-- | src/net/java/sip/communicator/impl/neomedia/device/MediaDeviceSession.java | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/net/java/sip/communicator/impl/neomedia/device/MediaDeviceSession.java b/src/net/java/sip/communicator/impl/neomedia/device/MediaDeviceSession.java index 526d6c7..50ad339 100644 --- a/src/net/java/sip/communicator/impl/neomedia/device/MediaDeviceSession.java +++ b/src/net/java/sip/communicator/impl/neomedia/device/MediaDeviceSession.java @@ -754,7 +754,10 @@ public class MediaDeviceSession */ public MediaFormat getFormat() { - Format jmfFormat = getProcessorFormat(); + // if processor is not present we will not query for format + // and return the locally stored one. + Format jmfFormat = (processor == null) ? + this.format : getProcessorFormat(); if(jmfFormat != null) { |