diff options
author | Artem Dyomin <artem.dyomin@qt.io> | 2024-05-10 14:06:24 +0200 |
---|---|---|
committer | Artem Dyomin <artem.dyomin@qt.io> | 2024-05-13 22:20:12 +0000 |
commit | c4052a72826cd26d075ae8510889bb4938296fde (patch) | |
tree | a1878eaa845c38c00e6eda50a28f3be92ddb9c8c /src/plugins/gstreamer/mediaplayer | |
parent | 87f08b34c0558da93a0f684a10c452fcb9cf8cbc (diff) |
Apply more straight logic for handling recording errors
We don't stop initialization of the recorder if stream
initialization got failed, we just emit an error instead.
If no strerams have been found we set the recorder to stopped state.
The patch makes the logic explicit, whereas the previous implementation
did the same in not clear way.
Pick-to: 6.7 6.5
Change-Id: I8e00d9bc1740012c018d6b536691b1a8e259eb85
Reviewed-by: Mikko Hallamaa <mikko.hallamaa@qt.io>
Reviewed-by: Artem Dyomin <artem.dyomin@qt.io>
Diffstat (limited to 'src/plugins/gstreamer/mediaplayer')
0 files changed, 0 insertions, 0 deletions