From 0379d59d53a7a3b0b4bed0cf67678452e0d88cb8 Mon Sep 17 00:00:00 2001 From: brunoherbelin Date: Thu, 30 Jul 2020 01:00:15 +0200 Subject: [PATCH] disabled the uridecodebin buffering: not working. --- MediaPlayer.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/MediaPlayer.cpp b/MediaPlayer.cpp index d27748b..92c1fff 100644 --- a/MediaPlayer.cpp +++ b/MediaPlayer.cpp @@ -134,10 +134,7 @@ void MediaPlayer::execute_open() // Uses linear interpolation 1 (default) // Uses cubic interpolation 2 // Uses sinc interpolation 3 - // Enable buffering on the parsed/demuxed data with the use-buffering property: - // This is interesting to enable buffering on slower random access media such as a network file server. - // buffer-duration in ns (500000 = 0.5s) - string description = "uridecodebin uri=" + uri_ + " use-buffering=true buffer-duration=500000 ! "; + string description = "uridecodebin uri=" + uri_ + " ! "; if (interlaced_) description += "deinterlace ! "; description += "videoconvert chroma-resampler=2 ! appsink name=sink";