tdesktop/Telegram/SourceFiles/media
John Preston 27d58ba07b Try to do a non-failed double->crl::time cast.
A crash on some old CPUs show, that in video frame processing
sometimes a cast from double to crl::time fails, writing to
the resulting crl::time value INT64_MIN (0x8000000000000000).

This is shown in crash logs, with lines like:

...,rounded:104,casted:-9223372036854775808,...

where logs are written like:

...
).arg(std::round(adjust * _options.speed)
).arg(crl::time(std::round(adjust * _options.speed))
...

I don't know what to do and how to workaround this. Trying other casts.
2021-08-23 17:58:59 +03:00
..
audio Use Images::Read instead of App::readImage. 2021-08-11 18:55:08 +03:00
clip Fix -Wunused-variable warnings 2021-07-13 21:43:34 +03:00
player Fix -Wunused-variable warnings with gcc 2021-07-19 22:31:27 +03:00
streaming Try to do a non-failed double->crl::time cast. 2021-08-23 17:58:59 +03:00
view Beta version 2.9.5: Fix hide workaround for media viewer. 2021-08-20 19:56:40 +03:00
system_media_controls_manager.cpp Set service name for MPRIS 2021-07-10 14:28:04 +03:00
system_media_controls_manager.h Moved SystemMediaControlsManagerto Media namespace. 2021-06-10 23:00:56 +03:00