After passing mux / demux, the framerate is extremely bigger than
before. (Issue #2440) This is mainly because sync_mode of tensor_mux
filter is SYNC_NOSYNC. To fix this bug, this patch set sync_mode to
SYNC_SLOWEST as default.
Signed-off-by: Sangjung Woo <sangjung.woo@samsung.com>
tensor_mux);
tensor_mux->silent = TRUE;
- tensor_mux->sync.mode = SYNC_NOSYNC;
+ tensor_mux->sync.mode = SYNC_SLOWEST;
tensor_mux->sync.option = NULL;
tensor_mux->need_buffer = FALSE;
tensor_mux->current_time = 0;
filter->sync.mode =
gst_tensor_time_sync_get_mode (g_value_get_string (value));
if (filter->sync.mode == SYNC_END) {
- filter->sync.mode = SYNC_NOSYNC;
+ filter->sync.mode = SYNC_SLOWEST;
}
silent_debug ("Mode = %d(%s)\n", filter->sync.mode,
gst_tensor_time_sync_get_mode_string (filter->sync.mode));