Commit Graph

23 Commits

Author SHA1 Message Date
Rafostar
a01cc058cd Do not display video FPS when unavailable
Do not try to display video FPS inside video tracks selection popover button. The FPS value can be zero for example when viewing pictures.
2020-09-10 21:41:58 +02:00
Rafostar
1fdbf09cbd Display shorter names for all audio codecs 2020-09-10 21:32:12 +02:00
Rafostar
b446fb943e Hide track selection buttons without contents 2020-09-10 21:21:35 +02:00
Rafostar
e9ec155e7b Move fullscreen and menu buttons to header bar
Follow other GNOME apps designs by having fullscreen button on the right side of window header bar. The control panel had too many buttons already and we still need to make some space for playlist. This way "fullscreen" button will be on top bar while windowed and "unfullscreen" button will appear on the bottom right only when player entered fullscreen mode.
2020-09-10 14:24:02 +02:00
Rafostar
557cbc11e2 Use filename as title when media info doesn't have one 2020-09-10 11:34:50 +02:00
Rafostar
3fb370e1d0 Fix not updated volume icon on startup 2020-09-10 10:41:37 +02:00
Rafostar
06914db0da Add header bar with media title and path 2020-09-10 10:26:20 +02:00
Rafostar
ab11d52a68 Recreate volume button from scratch
Create volume button with popover instead of using GTK provided volume button.

Creating new button with only needed elements is more efficient then removing unneeded items from pre-made volume button. This should also increase performance a little when changing volume, because now we generate new icon only when a change is needed. In pre-made button icon is regenerated on each volume change.
2020-09-09 21:34:32 +02:00
Rafostar
374e3cc33a Show "Unknown" when language is undetected 2020-09-06 12:44:24 +02:00
Rafostar
7d2edec553 Show playback time and switch to dark mode when fullscreen 2020-09-05 13:49:44 +02:00
Rafostar
e76d1c9e6e Add video, audio and subtitle track selection 2020-09-04 23:43:51 +02:00
Rafostar
4e235a0e9b Add controls background on fullscreen 2020-09-04 10:47:05 +02:00
Rafostar
e5e06336f3 Add slide animation for fullscreen controls 2020-09-03 21:17:43 +02:00
Rafostar
3d9bab0578 Add overlay for controls when fullscreen
When player is fullscreen playback controls are shown on top of video (at screen bottom). When windowed, controls are shown below the video instead.
2020-09-03 20:01:26 +02:00
Rafostar
2bef72fd95 Change pause icon to play on stopped video 2020-09-03 13:02:29 +02:00
Rafostar
7d2b1f1118 Add custom debug script with Gst version check 2020-09-03 10:43:07 +02:00
Rafostar
ec68db73c9 Do not update position slider during buffering 2020-09-03 07:29:02 +02:00
Rafostar
9f18ec35b2 Tweak position and volume slider values 2020-09-02 22:26:48 +02:00
Rafostar
70ec6311c0 Add seeking on slider drop and make it default behaviour
Seeking during slider drag is very CPU and HDD intensive task. We are requesting the player to keep seeking in VERY short amounts of time. This can be performed more effectively by doing a single seek after slider drop. Since this is a different behaviour then usually in media players, I am making this optional (enabled by default).
2020-09-02 18:31:22 +02:00
Rafostar
9f04b74e05 Fix volume button icon behaviour 2020-09-01 23:43:40 +02:00
Rafostar
18a7d34d95 Do not set position adjustment twice 2020-09-01 17:45:36 +02:00
Rafostar
bf35da6b91 Recycle old position scale adjustment 2020-08-31 23:11:34 +02:00
Rafostar
918ba34885 Add Gtk app 2020-08-31 20:47:10 +02:00