Commit Graph

135 Commits

Author SHA1 Message Date
Rafostar
7577c74a77 Enable ring buffer 2020-11-09 20:49:58 +01:00
Rafostar
e6f683bb96 Workaround dialogs double unref 2020-11-09 17:57:31 +01:00
Rafostar
8bb6ce04ef Get initial dimensions only once 2020-11-09 17:56:38 +01:00
Rafostar
8351066a8b Add changing seek mode during playback patch 2020-11-09 11:42:19 +01:00
Rafostar
dd3ba11c0e Set min GStreamer ver warning to 1.18.x 2020-11-09 11:40:48 +01:00
Rafostar
c2bd6bc894 Set min floating window size 2020-11-09 11:40:01 +01:00
Rafostar
9be93c66f1 Improve obtaining initial player dragging coords 2020-11-06 20:33:14 +01:00
Rafostar
868c39f1cf Store and restore floating window size 2020-11-06 19:43:38 +01:00
Rafostar
eb1a495907 Reduce number of source files (cleanup) 2020-11-06 17:04:54 +01:00
Rafostar
42c208d1df Make file chooser and open URI dialogs modal 2020-11-05 20:19:26 +01:00
Rafostar
da21c2fafc Add fast seeking support as a patch 2020-11-05 16:13:57 +01:00
Rafostar
81bdcf6244 Enable "Fast Seeking" option
Since GstPlayer pipeline ref count is now fixed by a patch, fast seeking option can be enabled. In my tests this seeking method is over 10x faster then normal seeking on some files, but the video time you end up with might differ up to few seconds from the value requested.
2020-11-04 22:57:05 +01:00
Rafostar
de7a850cc2 Create gio settings only once 2020-11-04 15:05:16 +01:00
Rafostar
8296f40382 Allow adjusting volume before loading file 2020-11-04 12:37:42 +01:00
Rafostar
11468e2774 Add unexported by GI Gst.PlayFlags 2020-11-04 12:37:36 +01:00
Rafostar
23b39e5f3b Add open URI dialog 2020-11-03 20:56:21 +01:00
Rafostar
ff58713426 Add "Floating Window Mode"
A simple borderless window floating on desktop. Window can be resized and moved by dragging. It also has some minimalistic controls showing on top of the video when cursor is hovering over it.\n\n This was a feature originally requested by @zahid1905.
2020-11-03 17:40:19 +01:00
Rafostar
ba54a36058 Keep a ref to main context
Might help with GJS toggling down object bug. Needs some testing.
2020-11-03 17:18:37 +01:00
Rafostar
866e8325e6 Do not show "Ends at" text when player is stopped 2020-11-02 09:11:55 +01:00
Rafostar
a019ef90ca Remember and restore last window dimensions on launch 2020-10-31 09:04:41 +01:00
Rafostar
36145adf1a Always start with black image 2020-10-31 08:21:18 +01:00
Rafostar
19e1a20bf7 Start fullscreen playback after toplevel state is changed 2020-10-30 22:51:30 +01:00
Rafostar
ac06e84851 Open files via native file chooser 2020-10-26 21:25:13 +01:00
Rafostar
556809c1f4 Add GStreamer plugin ranking to preferences 2020-10-26 16:45:37 +01:00
Rafostar
31f208006f Add startup fullscreen and volume preferences 2020-10-26 11:07:01 +01:00
Rafostar
9354042379 Add preferences dialog
Allows customizing various settings. For now it includes player seeking times and mode customization. More options will be added in the future.
2020-10-25 10:14:14 +01:00
Rafostar
576440faff Fix update media end time 2020-10-23 10:26:11 +02:00
Rafostar
cc4757aef5 Do not hide controls while navigating panel 2020-10-21 13:19:38 +02:00
Rafostar
0b1864378b Add Clapper usage as GTK widget 2020-10-21 12:24:42 +02:00
Rafostar
0291377389 Major code cleanup 2020-10-20 22:30:15 +02:00
Rafostar
4dea498f37 Improve position scale alignment in fullscreen 2020-10-19 13:27:41 +02:00
Rafostar
82840d5852 Start loading media after window is shown 2020-10-19 13:26:15 +02:00
Rafostar
b2e052d7a4 Do not show cursor on small movement 2020-10-16 22:11:54 +02:00
Rafostar
c9d9927bb1 Remove unused mainloop 2020-10-16 21:45:32 +02:00
Rafostar
7f1264ae27 Add fast seeking (disabled by default)
The fast seeking option. It seeks to the next keyframe which reduces seeking delay over 10 times, but makes the seeking very inaccurate as a side effect (usually up to few seconds from requested position).
2020-10-16 20:00:22 +02:00
Rafostar
1119e3e792 Fix GstPlayer error logging 2020-10-16 17:03:51 +02:00
Rafostar
8297be45ba Add player seek_done property 2020-10-16 13:24:18 +02:00
Rafostar
eafc65d15d Go back to beginning after playback ends 2020-10-16 12:13:00 +02:00
Rafostar
d0eb28b207 Remove GTK3 "widget.show()" leftovers 2020-10-16 10:59:00 +02:00
Rafostar
12c1251c9b Update video info during non-local file playback
With this player will always show current video resolution when playing fragmented media like HLS or MPD online videos
2020-10-16 00:21:43 +02:00
Rafostar
745747b604 Hide time and position scale on LIVE media 2020-10-15 22:49:37 +02:00
Rafostar
6f2ec62515 Fill position scale to the very end 2020-10-15 20:15:56 +02:00
Rafostar
04abecf511 Refresh position time on startup 2020-10-15 18:13:43 +02:00
Rafostar
fa07c4532c Fix player process not exiting after window close 2020-10-15 17:54:28 +02:00
Rafostar
57a8e6d933 Add about dialog 2020-10-15 16:21:46 +02:00
Rafostar
ea8226f1d3 Restore seek on drop behavior 2020-10-14 16:45:09 +02:00
Rafostar
a20a0c8160 Grab player focus only when controls are not visible 2020-10-14 12:52:11 +02:00
Rafostar
05c9528723 Auto change focus between player and controls 2020-10-14 12:30:57 +02:00
Rafostar
1069f151f0 Restore automatic menu hiding 2020-10-14 10:57:43 +02:00
Rafostar
1f6a9b59d6 Restore button presses 2020-10-13 23:47:13 +02:00