John Preston
0df628dc7a
Fix notifications hiding on Linux.
...
Regression was introduced in 3372dfcd3e
.
Only when platform-specific code can give us the global time of the
last user input event we rely on idle time for notifications hiding.
Fixes #5791 .
2019-03-14 21:59:10 +04:00
John Preston
a5d1fbff98
Fix removing photo in webpage preview.
2019-03-14 17:14:18 +04:00
John Preston
5cae57601a
Allow video download from media viewer.
2019-03-14 16:03:02 +04:00
John Preston
2b7fb7a9a6
Pause music only when video playback starts.
2019-03-14 14:45:08 +04:00
John Preston
feb238c5d9
Fix crash if asked to read more than 64MB at once.
2019-03-14 14:14:24 +04:00
John Preston
0d888eea85
Fix local cache time limit setting storing.
...
Fixes #5611 .
2019-03-14 13:22:42 +04:00
John Preston
bfb6ecbac7
Fail streaming on error in any stream.
2019-03-14 12:47:18 +04:00
John Preston
2152fe6a79
Beta version 1.5.17: Improve large file streaming.
...
Allow header for streaming up to 8 MB.
2019-03-13 20:56:04 +04:00
John Preston
b113696fe6
Beta version 1.5.17.
...
- Bug fixes and other minor improvements.
2019-03-13 19:02:53 +04:00
John Preston
b65a24df96
Allow streaming videos with unknown duration.
...
When you stream image/gif as a soundless video the total duration is
unknown, so we accumulate packet->pts + packet->duration as duration.
2019-03-13 18:58:50 +04:00
John Preston
c655bf852f
Fix crash in video player seek.
2019-03-13 16:28:07 +04:00
John Preston
be495c17bc
Fix seek to video end.
2019-03-13 16:21:07 +04:00
John Preston
9785ff4be6
Add more checks in streaming.
2019-03-13 15:11:54 +04:00
John Preston
5ec37e9112
Use separate click handler for OpenWith.
2019-03-13 13:35:47 +04:00
John Preston
f9f84fd407
Fix idle time checking in MainWidget.
...
Regression was introduced in 78d00bcf22
.
Fixes #5779 , fixes #5780 .
2019-03-13 11:21:56 +04:00
John Preston
ed93669693
Beta version 1.5.16: Update libtgvoip.
2019-03-12 19:04:22 +04:00
John Preston
e79ddf2459
Beta version 1.5.16: Fix audio stucking.
2019-03-12 18:57:48 +04:00
John Preston
5efe47cfb6
Beta version 1.5.16: Remove streaming logs.
2019-03-12 18:56:35 +04:00
John Preston
b8045cbcc7
Beta version 1.5.16.
...
- Play video files and listen to received music
without waiting for them to download.
- Press CTRL+0 (CMD+0 on macOS) to jump to your Saved Messages.
2019-03-12 17:05:11 +04:00
John Preston
aa1090a585
Fix text disappearing in support mode.
2019-03-12 16:54:15 +04:00
John Preston
0a5589f869
Remove deleted chats with users from list.
2019-03-12 16:08:41 +04:00
John Preston
383b29dbd8
Fix possible crash in calls.
...
Fixes #5732 .
2019-03-12 15:26:29 +04:00
John Preston
13a9b967e9
Use user phrases for support accounts.
2019-03-12 14:38:59 +04:00
John Preston
b798654ca7
Set focus to intro widget.
...
Fixes #5705 .
2019-03-12 14:38:59 +04:00
John Preston
a5e6890b77
Fix icon pixmap sizes on Retina with scaling.
2019-03-12 14:27:22 +04:00
John Preston
2a3a38531b
Fix photo inline result sending.
...
Fixes #5594 .
2019-03-12 13:49:16 +04:00
John Preston
4ebf6ebb6f
Use the same poll option values as others.
2019-03-12 13:15:08 +04:00
23rd
6fe736c9fc
Added Shortcut to jump to the Saved Messages.
2019-03-12 13:03:23 +04:00
John Preston
ef682e7023
Fix photos in overview with disabled autodownload.
...
Fixes #5599 , fixes #5747 .
2019-03-12 12:55:26 +04:00
John Preston
5c3f667fc3
Fix background reset on language change.
2019-03-12 12:55:26 +04:00
John Preston
a95a055acd
After update try relaunching for 1 second on macOS.
2019-03-12 09:35:53 +04:00
John Preston
846499a4fb
Fix volume saving to settings.
2019-03-12 09:09:53 +04:00
John Preston
6afb3f70bb
Closed alpha version 1.5.15.6.
2019-03-11 21:03:26 +04:00
John Preston
c063d94aa5
Remove DocumentData::actionOnLoad. Fix GIF open.
2019-03-11 19:07:35 +04:00
John Preston
261720c941
Fix radial animations on macOS.
...
QOpenGLWidget doesn't draw antialiased ellipses and arcs,
so we use a software rasterizer and then draw the resulting image.
2019-03-11 13:51:15 +04:00
John Preston
7b3c452316
Change direction of infinite radial animation.
2019-03-11 13:19:38 +04:00
John Preston
aa00f9bd34
Fix new animations engine restarts.
2019-03-11 12:08:21 +04:00
John Preston
b0ff443eac
Fix sending of saved GIFs.
2019-03-11 12:08:21 +04:00
John Preston
a886c598c1
Fix non-streamable videos layout.
2019-03-11 12:08:20 +04:00
John Preston
2ce4abfdfe
Fix crash in media caching.
2019-03-11 12:08:20 +04:00
John Preston
18c42954ae
Fix sparse frame painting on macOS.
2019-03-11 12:08:20 +04:00
John Preston
b57b4fa0f8
Fix reading first slice for good header cache.
2019-03-11 12:08:20 +04:00
John Preston
e66cde398a
Closed alpha version 1.5.15.5.
2019-03-11 12:08:19 +04:00
John Preston
3706be77ea
Fix macOS media viewer controls hiding.
2019-03-11 12:08:19 +04:00
John Preston
f481f1e142
Make videos larger, fix playback animation.
2019-03-11 12:08:19 +04:00
John Preston
84b09795f3
Store first slice in the header cache key.
2019-03-11 12:08:19 +04:00
John Preston
95954c4b1f
Closed alpha version 1.5.15.4.
2019-03-11 12:08:18 +04:00
John Preston
a56a12a1ef
Optimized video frame pushing.
2019-03-11 12:08:18 +04:00
John Preston
5c4b459f57
Use new animations in video viewer.
2019-03-11 12:08:18 +04:00
John Preston
9a616edf2a
Add new animations engine.
2019-03-11 12:08:17 +04:00
John Preston
92332b45ea
Don't reset zoom on video seek.
2019-03-11 12:08:17 +04:00
John Preston
5a7fcc3a22
Don't show fast share for own messages.
2019-03-11 12:08:17 +04:00
John Preston
6c441353c4
Closed alpha version 1.5.15.3.
2019-03-11 12:08:17 +04:00
John Preston
b742c95516
Support streamed video rotation.
2019-03-11 12:08:16 +04:00
John Preston
a59c3da3d0
Cache small files in one value.
2019-03-11 12:08:16 +04:00
John Preston
8399f4189f
Don't show receivedTill for local loaders.
2019-03-11 12:08:16 +04:00
John Preston
67b9fe846b
Improve video frame position checks.
2019-03-11 12:08:16 +04:00
John Preston
0f4ccce0e1
Update ffmpeg.
2019-03-11 12:08:15 +04:00
John Preston
01d763eed1
Use DocumentData::getDuration for all types.
2019-03-11 12:08:15 +04:00
John Preston
41c60419f1
Enable voice messages streaming.
2019-03-11 12:08:15 +04:00
John Preston
195164d9d4
Fix display / download of video messages.
2019-03-11 12:08:14 +04:00
John Preston
518d1da736
Fail streaming if no codec for a stream.
2019-03-11 12:08:14 +04:00
John Preston
aade3d4f27
Allow streaming video from overview.
2019-03-11 12:08:14 +04:00
John Preston
22356eb01c
Fix initial video duration display.
2019-03-11 12:08:14 +04:00
John Preston
b5eb88a32f
Closed alpha version 1.5.15.2.
2019-03-11 12:08:13 +04:00
John Preston
6887993f92
Report streaming failed.
2019-03-11 12:08:13 +04:00
John Preston
71b733a018
Display receivedTill in video player controls.
2019-03-11 12:08:13 +04:00
John Preston
e2eb9cea00
Apply sample_aspect_ratio in streaming.
2019-03-11 12:08:12 +04:00
John Preston
99e96a5b13
Allow looping video without audio in streaming.
2019-03-11 12:08:12 +04:00
John Preston
7093254b66
Fix crash in empty sticker set box.
2019-03-11 12:08:12 +04:00
John Preston
f4544b0964
Fix crash in passcode setup.
2019-03-11 12:08:12 +04:00
John Preston
c27456277e
Support streaming of local files.
2019-03-11 12:08:11 +04:00
John Preston
2e824ace00
Fix video messages inline playback.
2019-03-11 12:08:11 +04:00
John Preston
dafa286b18
Show option to download on streaming error.
2019-03-11 12:08:11 +04:00
John Preston
003d01206f
Allow .opus playback.
2019-03-11 12:08:10 +04:00
John Preston
f0963a332a
Fix crash on failed streaming.
2019-03-11 12:08:10 +04:00
John Preston
91bdb66f0d
Fix call icon position for the Info layer.
2019-03-11 12:08:10 +04:00
John Preston
ffb48c42b0
Closed alpha version 1.5.15.1.
2019-03-11 12:08:10 +04:00
John Preston
8171828c2a
Fix build on GCC.
2019-03-11 12:08:09 +04:00
John Preston
a8aa66d191
Check frame format before sws_getCachedContext.
2019-03-11 12:08:09 +04:00
John Preston
e631d98230
Implement media cache management.
2019-03-11 12:08:09 +04:00
John Preston
1940c67a09
Disable music / video autodownload.
2019-03-11 12:08:09 +04:00
John Preston
c574119718
Implement file reference update in streaming.
2019-03-11 12:08:08 +04:00
John Preston
648cd44ddd
Display correct video / music state.
2019-03-11 12:08:08 +04:00
John Preston
fde8dd9607
Play streaming audio in player.
2019-03-11 12:08:08 +04:00
John Preston
f1e0cd6c1d
Play streaming video in mediaview.
2019-03-11 11:52:11 +04:00
John Preston
44df10d6cb
Improve working with cache in streaming.
2019-03-11 11:49:54 +04:00
John Preston
b6a757842a
Pause loading if loaded for 1 minute.
2019-03-11 11:49:54 +04:00
John Preston
4636c74586
Remove from memory old file slices.
2019-03-11 11:49:54 +04:00
John Preston
2208621050
First version of caching in media streaming.
2019-03-11 11:49:54 +04:00
John Preston
f133dd396c
Return pair<iterator,bool> from flat_set::emplace.
2019-03-11 11:49:54 +04:00
John Preston
ccd04b98b9
Fix sync video to audio.
2019-03-11 11:49:54 +04:00
John Preston
d37b65e624
If stuck wait for three seconds of packets.
2019-03-11 11:49:54 +04:00
John Preston
3e9b811875
Implement precise seek in streaming.
2019-03-11 11:49:54 +04:00
John Preston
44c562d8ba
Fix streaming seek, display progress.
2019-03-11 11:49:53 +04:00
John Preston
93c548c013
Support streaming speed changing.
2019-03-11 11:49:53 +04:00
John Preston
a7d9281768
Implement pause / resume in streaming.
2019-03-11 11:49:53 +04:00
John Preston
3b369fc98e
Buffer audio when waiting data in streaming.
2019-03-11 11:49:53 +04:00
John Preston
e5cd7e6d40
Fix streaming from the middle of the file.
2019-03-11 11:49:53 +04:00
John Preston
99d05ba967
Sync video stream to audio stream.
2019-03-11 11:49:53 +04:00