Commit graph

2642 commits

Author SHA1 Message Date
kapodamy
0295a1fe49 misc changes
* read "SeekPreRoll" from the source track (if available)
* use the longest track duration as segment duration, instead of the video track duration
* do not hardcode the "Cue" reserved space behavior
* do not hardcode the "EBML Void" element, unreported issue. The size was not properly calculated
* rewrite the key-frame picking
* remove writeInt(), writeFloat() and writeShort() methods, use inline code
* set "SeekPreRoll" and "CodecDelays" values on output tracks (if available)
* rewrite the "Cluster" maker
* rewrite the code of how "Cluster" sizes are written

Fix encode() method (the reason of this commit/pull-request):
* Use the unsigned shift operator instead of dividing the value, due precession lost
2020-03-12 00:50:14 -03:00
Alexander--
4ea4b5436d Intercept ActivityNotFoundException for ACTION_MANAGE_OVERLAY_PERMISSION 2020-03-12 05:32:20 +06:59
Alexander--
06e987dafd Fix focus getting stuck by cycling within the same list item 2020-03-12 05:29:37 +06:59
Alexander--
a1d056bdb8 Merge remote-tracking branch 'newpipe/dev' into rebase 2020-03-12 04:48:37 +06:59
Tobias Groza
9a37832d3c Merge pull request #3197 from mauriciocolli/fix-main-tabs
Fix bug in main screen tabs state management
2020-03-11 22:03:16 +01:00
Avently
9e2e96812b Better backstack, better tablet support, switching players confirmation, fix for background playback 2020-03-10 12:06:38 +03:00
Mauricio Colli
0cf5afa08a Fix bug in main screen tabs state management
Tabs were not being destroyed/restored correctly due to a call to a
method that populated the view pager before it even had a chance of
restoring itself.

The solution was to null out the adapter before calling that method so
the view pager will postpone the populating process.
2020-03-08 09:09:04 -03:00
Stypox
712a4222f6 Merge pull request #3165 from karkaminski/mute_button
Mute button
2020-03-08 10:29:25 +01:00
Stypox
0292ede9c8 Merge pull request #3046 from XiangRongLin/shareDownload
Fix bug causing crashes when sharing a downloaded file.
2020-03-08 09:44:04 +01:00
Tobias Groza
4d8d52094f Improve code style
Co-Authored-By: B0pol <bopol@e.email>
2020-03-07 20:09:05 +01:00
yausername
8dd9b7caa5 refactor checkpointing 2020-03-07 20:09:05 +01:00
yausername
17d44c22f2 checkpoint db before export 2020-03-07 20:09:05 +01:00
karol
c6bd30e44d null risk issue 2020-03-05 19:07:46 +01:00
karol
735d05b1c3 mute/unmute text change in action bar 2020-03-04 18:53:17 +01:00
karol
642349a470 mute icon change in action bar 2020-03-04 18:37:04 +01:00
XiangRongLin
51eff0574e Update app/src/main/java/org/schabi/newpipe/settings/VideoAudioSettingsFragment.java
Co-Authored-By: Stypox <stypox@pm.me>
2020-03-03 21:41:15 +01:00
Xiang Rong Lin
4c2efaac2a Change toast string resource to be useable with different languages 2020-03-03 19:50:50 +01:00
Xiang Rong Lin
7d941f2c27 Show a toast when seek duration was rounded up 2020-03-03 19:40:10 +01:00
Xiang Rong Lin
6d95a5f3d2 Use DateUtils constant for 1000 2020-03-03 19:40:10 +01:00
Xiang Rong Lin
2f4b8d9aa6 Round seek duration up instead of setting it to 10 seconds 2020-03-03 19:40:10 +01:00
Xiang Rong Lin
3bdb8cb717 Update seek options on inexact seek option change.
Reset to 10 seconds when previous value is not valid anymore
2020-03-03 19:40:10 +01:00
Xiang Rong Lin
5aea971cb2 If inexact seekt is used, hide 5,15,25 seconds seek duration options when opening settings 2020-03-03 19:40:10 +01:00
karol
c306ed423c icon color change in action bar 2020-03-03 00:01:19 +01:00
karol
24ee7603cc mute button in actionbar, no color change 2020-03-02 22:52:58 +01:00
karol
f81f7528d8 resolved issues 2020-03-02 21:12:02 +01:00
karol
e5ddc3171d fix typo 2020-03-01 16:42:46 +01:00
TobiGr
60bccae38a Update extractor version 2020-03-01 15:37:47 +01:00
karol
2ed9f70eed set mute button in main player from other player 2020-03-01 13:02:20 +01:00
Avently
b59f99d652 Fix for a ripple effect on a button 2020-02-29 22:13:07 +03:00
Avently
0fe164cb45 Better implementation of old code 2020-02-29 02:57:54 +03:00
bopol
0fcc0f0c40 public Utils.round() moved to private Localization.round() 2020-02-28 17:04:25 +01:00
bopol
1162f7b09e Round at one place for Localization.shortCount() 2020-02-28 17:04:25 +01:00
karol
553271b143 mute icon in main refactored 2020-02-27 23:30:17 +01:00
karol
ae8c842406 mute intent send between main-bckgrnd-popup players 2020-02-27 22:30:18 +01:00
Marcel Dopita
949c13632c Support display cutout
Fixes #2682
2020-02-26 17:47:22 +01:00
TobiGr
eb80de4917 Merge branch 'master' into dev 2020-02-26 17:46:59 +01:00
Alexander--
5559898332 NewPipeRecyclerView should allow scrolling down by default 2020-02-26 06:40:46 +06:59
Alexander--
c5c7c41c8f Merge remote-tracking branch 'newpipe/dev' into rebase 2020-02-26 05:56:09 +06:59
TobiGr
8678a7e5db Release 0.18.5 (850) and update extractor version
Update User-Agent
2020-02-25 23:38:51 +01:00
TobiGr
700ad835c4 Exception is ignored in SearchFragment 2020-02-25 23:12:12 +01:00
Avently
a03ad672b9 Vertical videos in portrait & fullscreen, UI enhancements for tablets and phones, fixes
- vertical videos now work ok in portrait and fullscreen mode at the same time
- auto pause on back press is disabled for large tablets
- large dragable area for swipe to bottom in fullscreen mode in place of top controls
- appbar will be scrolled to top when entering in fullscreen mode
2020-02-25 02:15:22 +03:00
karol
599b858bc6 icon change implemented in queque 2020-02-23 23:44:16 +01:00
karol
7294965c9d mute-buton in queue layout and logic, but no icon change 2020-02-23 23:31:30 +01:00
karol
4ed056ad74 isMuted() added 2020-02-23 22:55:34 +01:00
karol
25c77f5349 mute-button implementation in main player 2020-02-23 22:32:23 +01:00
Tobias Groza
a30928c8d6 Merge branch 'dev' into unhook-save-restore 2020-02-23 00:19:44 +01:00
TobiGr
ad1b4c5465 Fix regression: Unable to find explicit activity class
See https://github.com/TeamNewPipe/NewPipe/issues/3114#issuecomment-589940878 for info on this crash.
This reverts ebab29c9f9 partly.
2020-02-22 20:43:38 +01:00
Stypox
857f7bbc9a Address @mauriciocolli suggestions in #2960
Simplify code to enable history button
2020-02-22 11:34:08 +01:00
Stypox
662d9769cb Remove empty about menu 2020-02-22 11:30:57 +01:00
Stypox
d575a38773 Remove Settings button from download activity 2020-02-22 11:12:22 +01:00