Browse Source

UI-1287: Fax don't have video codecs, so it crashes when you try to save them, fixed it

4.3
Jean-Roch Maitre 11 years ago
parent
commit
833059e715
1 changed files with 7 additions and 2 deletions
  1. +7
    -2
      submodules/devices/devices.js

+ 7
- 2
submodules/devices/devices.js View File

@ -435,8 +435,13 @@ define(function(require){
} }
if(hasCodecs) { if(hasCodecs) {
mergedData.media.audio.codecs = audioCodecs.getSelectedItems();
mergedData.media.video.codecs = videoCodecs.getSelectedItems();
if(audioCodecs) {
mergedData.media.audio.codecs = audioCodecs.getSelectedItems();
}
if(videoCodecs) {
mergedData.media.video.codecs = videoCodecs.getSelectedItems();
}
} }
// If the key is set to "auto" we remove the key, we don't support this anymore // If the key is set to "auto" we remove the key, we don't support this anymore


Loading…
Cancel
Save