Commits (22)
-
Oswald Buddenhagen authored
Change-Id: I2b6dc0d097a79d91d0c24cebadac1a891337f576
df169ba0 -
Yoann Lopes authored
Our custom filter that streams the data into the pipeline was incorrectly negotiating the sample type with the downstream filter. This also fixes playback when passing a QIODevice to QMediaPlayer. Task-number: QTBUG-46899 Change-Id: Iea8b8731d5404c416c8ed0d59cb61958b13b61b0 Reviewed-by:
Christian Stromme <christian.stromme@qt.io>
d44a327d -
Oswald Buddenhagen authored
it's done centrally now. Change-Id: I67cdafc4f2d419b05fc07bc1d1046afba95a3544 Reviewed-by:
Joerg Bornemann <joerg.bornemann@qt.io>
6d5f3756 -
Maurice Kalinowski authored
Otherwise it will cause asserts and/or crashes. Change-Id: If8af4202395ae573b280744343dd853346a8c160 Reviewed-by:
Oliver Wolff <oliver.wolff@qt.io>
c0319d1c -
Yoann Lopes authored
Task-number: QTBUG-40338 Change-Id: Ic23dabaad94d7b293019460710ae1a097002e227 Reviewed-by:
Christian Stromme <christian.stromme@qt.io>
4fa23e08 -
Yoann Lopes authored
On OSX, it's not possible to reset the frame rate to the default value by passing kCMTimeInvalid, so just set the first value from the supported frame rates. Change-Id: I984101c2a95e13053228e56f19b353e716eb2b67 Reviewed-by:
Christian Stromme <christian.stromme@qt.io>
a4656b06 -
Yoann Lopes authored
The texture renderer could end up in a situation where a frame could be scheduled to be rendered after the renderer was reset. Change-Id: Ie6b6c9d0b5f5851f14aa6eb5f8421196aff8c691 Reviewed-by:
Christian Stromme <christian.stromme@qt.io>
d76d3184 -
Yoann Lopes authored
- "default" is a valid argument for snd_pcm_open(), let ALSA handle that case rather than using the first device in the list. - Don't add "default" in the list of available devices if there is already one. Change-Id: Icd41aa6677923a79faf6c90d0627eedd8700b91b Reviewed-by:
Christian Stromme <christian.stromme@qt.io>
5473621b -
Edward Welbourne authored
c.f. the constructor already doing the same for provider and the various fields populated by initControls(), which init() calls. Should be redundant (all QCamera constructors do invoke d->init() as soon as they've constructed d), but better safe than sorry. Calms Coverity (CID 22319). Change-Id: Ibf5d13bb1ef17be8e66fa14ed5617b700051c495 Reviewed-by:
Yoann Lopes <yoann.lopes@qt.io>
b3aa26a0 -
Christian Strømme authored
We would attempt to delete the AndroidCameraPrivate object twice if the native call to open failed. On recent version of Android (~6.0), this problem is harder to reproduce, as the camera is properly released when the application goes into the background. Task-number: QTBUG-53536 Change-Id: I064d276f9025924dfdb071aa52311d2b553c6953 Reviewed-by:
Yoann Lopes <yoann.lopes@qt.io>
b3af8f65 -
Maurice Kalinowski authored
Change-Id: I44620b8513fdf20ebc0e093368044133eabdd6b3 Reviewed-by:
Oliver Wolff <oliver.wolff@qt.io>
20299cfc -
Maurice Kalinowski authored
QWinRTAbstractVideoRendererControl::setActive was using QThread::requestInterrupt previously to indicate to the render thread that it is supposed to quit. However, when switching cameras you cannot tell the render thread to continue rendering. Instead start() is called and then the render thread recognized the previous interrupt request, resulting in a quit and no further rendering happening. Instead we wait for the render thread to complete by using shutdown(). Task-number: QTBUG-53722 Change-Id: Ibee2ed4f64400ca14c788984a73df4be0653ed2b Reviewed-by:
Oliver Wolff <oliver.wolff@qt.io>
bff19dbe -
Liang Qi authored
Change-Id: I0b4fde2a47b428fd04012a8dbec16fd14797b8dd
e1992d9d -
Yoann Lopes authored
Change-Id: I5097a0450f5836e48a697249619a1822775f3ad8 Reviewed-by:
Timur Pocheptsov <timur.pocheptsov@theqtcompany.com>
2303d2fe -
Yoann Lopes authored
Change-Id: I24d3da1417142bc80bc6b6c1c8124c246afe03db Reviewed-by:
Timur Pocheptsov <timur.pocheptsov@theqtcompany.com> Reviewed-by:
Christian Stromme <christian.stromme@qt.io>
f5de1410 -
Yoann Lopes authored
Make sure the video is recorded in the same orientation as the device. That means the top of the video matches the physical side of the device which is on top when starting recording. This patch makes sure the behavior is the same as on Android. In a future version, we should have an API to pick the desired orientation of the recorded video. Change-Id: Ia8bbfe621a0e54de3cb6bfe0a520f37e8a932539 Reviewed-by:
Christian Stromme <christian.stromme@qt.io>
c6a8c2c8 -
Yoann Lopes authored
Since the active viewfinder resolution can be overridden by the image and video capture resolutions, we need to re-evaluate the viewfinder settings whenever the capture mode changes. Change-Id: Ibdb7a070585cf67ebb2fcfb95ccbdd105f5f41cf Reviewed-by:
Christian Stromme <christian.stromme@qt.io>
af5e0d04 -
Yoann Lopes authored
Make sure the device format is always set in the same way. We don't actually set the format anymore when it's the same as the current one. We also make sure the frame rate is preserved. Change-Id: I1c68239bc99d9c3cef920effcf47fc253220c26f Reviewed-by:
Timur Pocheptsov <timur.pocheptsov@theqtcompany.com>
32b8310e -
Sze Howe Koh authored
See http://comments.gmane.org/gmane.comp.lib.qt.devel/25771 Change-Id: I9fc15721bf7a26d5da82739a6c83e76e33bb2827 Reviewed-by:
Alex Blasche <alexander.blasche@theqtcompany.com>
6d48deed -
Yoann Lopes authored
The list of devices was cached on startup and was never updated when a device was plugged, unplugged or if the default device changed. We now use the event subscription mechanism in PulseAudio to get notified of these changes and update the list accordingly. Change-Id: I5fe1c81494702aa9d38b91009621629dc9606323 Reviewed-by:
Karim Pinter <karim.pinter@theqtcompany.com> Reviewed-by:
Christian Stromme <christian.stromme@qt.io>
97012803 -
Ralf Nolden authored
NetBSD does not have -ESTRPIPE, so use it only when defined. http://netbsd.gw.com/cgi-bin/man-cgi?errno+2+NetBSD-6.0 and https://mail-index.netbsd.org/pkgsrc-wip-discuss/2013/10/27/msg002529.html Change-Id: I92921a16fcae95f58a870aea98ca66f5a5d30a12 Reviewed-by:
Frederik Gladhorn <frederik.gladhorn@qt.io>
bc53bb79 -
Liang Qi authored
Blacklisted a few functions in tst_QAudioInput. Conflicts: .qmake.conf src/plugins/avfoundation/camera/avfcameracontrol.mm src/plugins/avfoundation/camera/avfcameraservice.h src/plugins/avfoundation/camera/avfcameraservice.mm src/plugins/avfoundation/camera/avfcamerasession.h src/plugins/avfoundation/camera/avfcamerasession.mm src/plugins/avfoundation/camera/avfcameraviewfindersettingscontrol.h src/plugins/avfoundation/camera/avfcameraviewfindersettingscontrol.mm src/plugins/avfoundation/camera/avfimagecapturecontrol.mm src/plugins/avfoundation/camera/avfimageencodercontrol.mm src/plugins/avfoundation/camera/avfmediarecordercontrol.h src/plugins/avfoundation/camera/avfmediarecordercontrol.mm tests/auto/integration/qaudioinput/BLACKLIST Task-number: QTBUG-54459 Task-number: QTBUG-49736 Change-Id: I3a1fe8cef50b44d5c2785aaf4cf69fe3f16728e6
27681cba
Showing