mirror of
https://github.com/brunoherbelin/vimix.git
synced 2025-12-11 18:34:58 +01:00
Performance improvement / lower buffer ? (seems to improve under OSX)
This commit is contained in:
@@ -155,7 +155,7 @@ void MediaPlayer::execute_open()
|
||||
|
||||
// set all properties
|
||||
g_object_set (sink, "emit-signals", TRUE, "sync", TRUE, "enable-last-sample", TRUE,
|
||||
"wait-on-eos", FALSE, "max-buffers", 100, "caps", caps, NULL);
|
||||
"wait-on-eos", FALSE, "max-buffers", 50, "caps", caps, NULL);
|
||||
|
||||
// connect callbacks
|
||||
g_signal_connect(G_OBJECT(sink), "new-sample", G_CALLBACK (callback_pull_sample_video), this);
|
||||
|
||||
Reference in New Issue
Block a user