1. 27 Mar, 2018 - 3 commits
  2. 23 Mar, 2018 - 1 commit
  3. 22 Mar, 2018 - 4 commits
  4. 21 Mar, 2018 - 7 commits
    • VaL Doroshchuk's avatar
      Gstreamer: Fix leak in prepare-window-handle message · a429fb97
      VaL Doroshchuk authored
      
      If the handler returns GST_BUS_DROP, it should unref the message,
      else the message should not be unreffed by the sync handler.
      
      The message is not going to be unreffed after handler call is made.
      
      Task-number: QTBUG-64142
      Change-Id: Ib44f574e95457cdfab66b390c691a8b572987d66
      Reviewed-by: default avatarChristian Stromme <christian.stromme@qt.io>
      a429fb97
    • VaL Doroshchuk's avatar
      Gstreamer: Fix setting vaapi sink properties · 44b3628c
      VaL Doroshchuk authored
      
      Since vaapi and xvimage sinks require different ranges for the properties:
      brightness, contrast, hue, saturation. Added support of vaapi ranges.
      
      It also fixes problem when contrast was always 0 as default value
      which led to always show black screen.
      
      - brightness
      xvimage: Allowed values: [-1000,1000], Default value: 0
      vaapi:   Allowed values: [-1,1], Default value: 0
      
      - contrast
      xvimage: Allowed values: [-1000,1000], Default value: 0
      vaapi:   Allowed values: [0,2], Default value: 1
      
      - hue
      xvimage: Allowed values: [-1000,1000], Default value: 0
      vaapi:   Allowed values: [-180,180], Default value: 0
      
      - saturation
      xvimage: Allowed values: [-1000,1000], Default value: 0
      vaapi:   Allowed values: [0,2], Default value: 1
      
      Task-number: QTBUG-23761
      Change-Id: I8fda8ce4c6f47c4567e67c670f802a0e9f55af6e
      Reviewed-by: default avatarChristian Stromme <christian.stromme@qt.io>
      44b3628c
    • VaL Doroshchuk's avatar
      Allow to receive mouse move events in QVideoWidget · 5b99ac44
      VaL Doroshchuk authored
      
      No move events are being received for QVideoWidget even with enabled Qt::WA_MouseTracking.
      All these events are ignored because video widget from QVideoWidgetControl
      always has disabled Qt::WA_MouseTracking.
      
      Proxied this mouse tracking property to video widget.
      
      Task-number: QTBUG-30728
      Change-Id: Ic196042596906ce8b5674b62ea66f5e035ba3cfe
      Reviewed-by: default avatarChristian Stromme <christian.stromme@qt.io>
      5b99ac44
    • VaL Doroshchuk's avatar
      Audiocapture: Fix setting QAudioEncoderSettings::bitRate · 2831fb0e
      VaL Doroshchuk authored
      
      The sample size is now correctly calculated using provided bit rate via QAudioEncoderSettings.
      
      The bit rate is calculated like
      bitrate = sample size * sample rate * channel count
      
      Fixed bug when sample size is 8 when bit rate and sample rate is 8000
      which is not correct. The bit rate must be 8 * 8000.
      
      Task-number: QTBUG-65207
      Change-Id: I660fadfaaf6cc63004480fb84165252360b7f75e
      Reviewed-by: default avatarChristian Stromme <christian.stromme@qt.io>
      2831fb0e
    • VaL Doroshchuk's avatar
      Gstreamer: Emit an error if QCamera::start() fails · d49abfda
      VaL Doroshchuk authored
      
      If a camera is not started successfully error() signal has to be
      emitted.
      
      Added emitting an error from video source.
      Emitted only first error to prevent multiple subsequent errors.
      Added debug message.
      
      Task-number: QTBUG-51825
      Change-Id: I6ac936d2728213a4a64f3e4eb25ae2e2f109acca
      Reviewed-by: default avatarChristian Stromme <christian.stromme@qt.io>
      d49abfda
    • Val Doroshchuk's avatar
      DirectShow: Emit an error if QCamera::start() fails · 485cb9ce
      Val Doroshchuk authored
      
      If a camera is not started successfully,
      then an error() should be emitted.
      
      After an error the camera's state will be QCamera::UnloadedState
      and status will be QCamera::UnloadedStatus.
      
      The error signal is handled when the camera is unable to set following states:
      QCamera::UnloadedState, QCamera::LoadedState or QCamera::LoadingState.
      
      Thus additionally to QCamera::start() an error can be emitted
      even when QCamera::load(), QCamera::unload(), or QCamera::stop() is
      called.
      
      Task-number: QTBUG-51825
      Change-Id: Ib5ea08ed7983ea49a7bf8c0321cc5266a68d9144
      Reviewed-by: default avatarChristian Stromme <christian.stromme@qt.io>
      485cb9ce
    • VaL Doroshchuk's avatar
      Add test for checking error handling on start · 204b623a
      VaL Doroshchuk authored
      
      If a camera is not started successfully error() signal has to be
      emitted.
      
      This change adds a test for checking that we emit
      and set the correct status and state when trying
      to start an already active camera.
      
      Task-number: QTBUG-51825
      Change-Id: Ia14119aa9a93a76e363214401b8c2e9f216e35c9
      Reviewed-by: default avatarChristian Stromme <christian.stromme@qt.io>
      204b623a
  5. 20 Mar, 2018 - 1 commit
    • Jesus Fernandez's avatar
      Remove unreachable code · e0a069ed
      Jesus Fernandez authored
      
      Actions intended to be performed by the unreachable code will never occur.
      
      In CameraBinLocks::lockStatus(QCamera::LockType): Code block
      is unreachable because of the syntactic structure of the code (CWE-561)
      
      Coverity-Id: 188406
      Change-Id: I55a7ef8e87673519ff4f1ad5677054b34bf66d17
      Reviewed-by: default avatarChristian Stromme <christian.stromme@qt.io>
      e0a069ed
  6. 01 Mar, 2018 - 1 commit
  7. 28 Feb, 2018 - 1 commit
  8. 18 Feb, 2018 - 1 commit
  9. 14 Feb, 2018 - 2 commits
  10. 12 Feb, 2018 - 3 commits
  11. 05 Feb, 2018 - 3 commits
  12. 02 Feb, 2018 - 3 commits
  13. 01 Feb, 2018 - 4 commits
  14. 24 Jan, 2018 - 2 commits
  15. 23 Jan, 2018 - 1 commit
  16. 22 Jan, 2018 - 3 commits