[vlc-commits] player: medialib: Fix beginning of media value

Hugo Beauzée-Luyssen git at videolan.org
Fri Feb 28 20:46:50 CET 2020


vlc | branch: master | Hugo Beauzée-Luyssen <hugo at beauzee.fr> | Fri Feb 28 16:08:53 2020 +0100| [6d294bbb6c541bb0d0a0f3e6a787a9163ae0849a] | committer: Thomas Guillem

player: medialib: Fix beginning of media value

We were using 50% instead of 5%

Signed-off-by: Thomas Guillem <thomas at gllm.fr>

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=6d294bbb6c541bb0d0a0f3e6a787a9163ae0849a
---

 src/player/medialib.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/player/medialib.c b/src/player/medialib.c
index 1ff74b4def..a5f8a32bd9 100644
--- a/src/player/medialib.c
+++ b/src/player/medialib.c
@@ -119,7 +119,7 @@ vlc_player_input_RestoreMlStates(struct vlc_player_input* input, bool force_pos)
     }
 }
 
-static const float beginning_of_media_percent = .5f;
+static const float beginning_of_media_percent = .05f;
 static const int64_t beginning_of_media_sec = 60;
 
 static int



More information about the vlc-commits mailing list