mirror of
https://github.com/brunoherbelin/vimix.git
synced 2025-12-12 02:40:00 +01:00
disabled the uridecodebin buffering: not working.
This commit is contained in:
@@ -134,10 +134,7 @@ void MediaPlayer::execute_open()
|
|||||||
// Uses linear interpolation 1 (default)
|
// Uses linear interpolation 1 (default)
|
||||||
// Uses cubic interpolation 2
|
// Uses cubic interpolation 2
|
||||||
// Uses sinc interpolation 3
|
// Uses sinc interpolation 3
|
||||||
// Enable buffering on the parsed/demuxed data with the use-buffering property:
|
string description = "uridecodebin uri=" + uri_ + " ! ";
|
||||||
// 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 ! ";
|
|
||||||
if (interlaced_)
|
if (interlaced_)
|
||||||
description += "deinterlace ! ";
|
description += "deinterlace ! ";
|
||||||
description += "videoconvert chroma-resampler=2 ! appsink name=sink";
|
description += "videoconvert chroma-resampler=2 ! appsink name=sink";
|
||||||
|
|||||||
Reference in New Issue
Block a user