Commit Graph

507 Commits

Author SHA1 Message Date
John Preston 07e3671ca8 Allow monospace blocks to extend bubble width.
This partially fixes #2060 instead of additional settings from #7822.
2020-05-12 11:07:41 +04:00
Ilya Fedin 78c3c86fe6 Check only if at least one audio device is exist on startup
This makes https://github.com/telegramdesktop/tdesktop/issues/1548 don't affect on startup, but only when capture feature is used
2020-05-08 12:50:25 +04:00
John Preston 0251f58bf2 Use Semibold in names, use Bold in messages.
Fixes #7813, fixes #7823.
2020-05-08 12:12:47 +04:00
Nicholas Guriev 9828262a03 Update GSL to v3.0.1 and lib_base
* Use identical types for std::min.
2020-05-01 12:03:18 +04:00
John Preston d67dafaccb Fix check for 4K frame size in streaming. 2020-04-13 15:32:20 +04:00
John Preston f5aba5a907 Fix build with new lib_ui commits. 2020-04-13 15:26:09 +04:00
Ilya Fedin 5bb1c77199 Use OpenAL without direct channels 2020-04-13 15:15:29 +04:00
John Preston 735f7709b9 Fix sending videos larger than 720p. 2020-03-29 12:42:51 +04:00
John Preston f38e9763b6 Close media viewer when showing file in folder. 2020-03-27 20:36:06 +04:00
John Preston 01c79f917e Add limits on video frame size.
Any video that starts streaming is limited to 4K.
Any in-chat streaming is limited to full hd.
Any GIF panel animation is limited to 720p.
2020-03-27 20:36:05 +04:00
Ilya Fedin afc902a5cb Don't set device explicitly when capturing
Also update openal to 1.20.1 since it has pulseaudio.allow-moves by default

Fix playback devices enumerating
2020-03-10 11:49:23 +04:00
John Preston c2f58d3ab5 Fix GIFs with alpha display. 2020-02-24 17:48:23 +04:00
John Preston 8e222d3501 Fix closing of fullscreen GIFs by click. 2020-02-24 15:31:28 +04:00
John Preston 6357529901 Fix 90/270 degrees photo rotation.
Fixes #7197.
2020-02-21 18:48:29 +04:00
John Preston 775d5b6dcc Use 64 byte alignment for ffmpeg frames.
Fixes #7225.
2020-02-17 16:44:08 +04:00
John Preston 05c95a0307 Fix fullscreen rotate, fix rotate phrase. 2020-02-13 16:51:05 +04:00
John Preston 093c2887c3 Fix PiP on multi-monitor setup. 2020-02-10 18:45:23 +04:00
John Preston 1f16d72667 Allow setSpeed() on non-active streaming player. 2020-02-06 13:27:21 +04:00
John Preston 6cf9157fb5 Fix jump-to-time from audio captions. 2020-02-06 13:19:33 +04:00
John Preston 76ff9a562e Fix build. 2020-02-05 22:06:40 +04:00
John Preston ffeff09561 Beta version 1.9.10: Fix build for OS X 10.10-10.11. 2020-02-05 22:03:42 +04:00
John Preston d29c3add79 Rotate video in PiP. 2020-02-05 20:04:40 +04:00
John Preston 4544b091a0 Allow rotating content in media viewer. 2020-02-05 19:37:39 +04:00
John Preston 1ad0ff34df Don't overlap video with controls. 2020-02-05 18:39:47 +04:00
John Preston 282c502b71 Show playback time in PiP. 2020-02-05 18:39:47 +04:00
John Preston d6e989cad5 Allow seek in PiP. 2020-02-05 18:39:47 +04:00
John Preston 23388b5705 Display playback progress in PiP. 2020-02-05 18:39:47 +04:00
John Preston 9ed56aa5d6 Good display of not-yet-started streaming in PiP. 2020-02-05 18:39:47 +04:00
John Preston d9c5ab645c Fix radial loading in PiP widget. 2020-02-05 18:39:47 +04:00
John Preston 2cfb3c6755 Display dark background for PiP controls. 2020-02-05 18:39:47 +04:00
John Preston e095c325b3 Move PiP controls to one corner. 2020-02-05 18:39:47 +04:00
John Preston 47f9978c46 Double click on PiP to switch back to fullscreen. 2020-02-05 18:39:47 +04:00
John Preston 2e1e13b843 Rename mediaview.style to media_view.style. 2020-02-05 18:39:47 +04:00
John Preston e13325ca22 Support menu with playback speed. 2020-02-05 18:39:47 +04:00
John Preston e889a52f6f Improve design of video player and PiP controls. 2020-02-05 18:39:47 +04:00
John Preston 4d737b35da Fix PiP window on macOS. 2020-02-05 18:39:47 +04:00
John Preston 0fbd263562 Add shadow and round corners in PiP. 2020-02-05 18:39:47 +04:00
John Preston f81f37505b Save video PiP window geometry. 2020-02-05 18:39:47 +04:00
John Preston 58dd33d8a2 Fix PiP window on macOS. 2020-02-05 18:39:47 +04:00
John Preston f24f27a13c Add volume icon and playback speed info. 2020-02-05 18:39:47 +04:00
John Preston 87cc18aff8 Add video speed control slider. 2020-02-05 18:39:47 +04:00
John Preston b88219902f Add sample PiP controls. 2020-02-05 18:39:47 +04:00
John Preston 63090fb75f Fix build for macOS. 2020-02-05 18:39:46 +04:00
John Preston b5b520ab66 Make non-activatable PiP window. 2020-02-05 18:39:46 +04:00
John Preston 7a6052db81 Implement complex PiP movement. 2020-02-05 18:39:46 +04:00
John Preston a73520c9d8 Allow resizing PiP. 2020-02-05 18:39:46 +04:00
John Preston 55b63cd2e3 Move PiP panel code to a separate class. 2020-02-05 18:39:46 +04:00
John Preston 612ee18a93 Snap PiP to screen edges. 2020-02-05 18:39:46 +04:00
John Preston ca5c9271a3 First prototype of picture-in-picture player. 2020-02-05 18:39:46 +04:00
John Preston fb0ceb110e Fix assertion violation in non-history song player. 2020-01-28 16:55:57 +03:00