summaryrefslogtreecommitdiffstats
path: root/src/qtmultimediaquicktools
diff options
context:
space:
mode:
authorVaL Doroshchuk <valentyn.doroshchuk@qt.io>2018-08-22 10:49:39 +0200
committerVaL Doroshchuk <valentyn.doroshchuk@qt.io>2018-08-22 12:43:55 +0000
commitc1ca9510af3c3c4134b717f1863651783e338a9e (patch)
tree3eaa09b8f9ec919547d54464666241e1cad80f33 /src/qtmultimediaquicktools
parentd84c7d09df16d5e60cd5067005ec97498f8b4e32 (diff)
Gstreamer: Set video-profile to CameraBin before GST_STATE_READY
CameraBin creates default (application/ogg, video/x-theora) video profile or sets custom defined one, but ONLY on GST_STATE_CHANGE_NULL_TO_READY. If the camera is already loaded then it is not possible to change the video profile. Since a video profile was never defined, video/x-theora was always used to record video. Moved setting video profile before it gets to READY. It fixes an issue with ignoring CameraBinRecorder::applySettings(). This also changes previous behavior when video/x-theora was always used. To apply custom video settings it requires to use QMediaRecorder::setVideoSettings before the camera enters the READY state. Task-number: QTBUG-69895 Change-Id: I3afbf1f8e7c953e2e49e9cad7e96ea0b18a29d1a Reviewed-by: Christian Stromme <christian.stromme@qt.io>
Diffstat (limited to 'src/qtmultimediaquicktools')
0 files changed, 0 insertions, 0 deletions