Example #1
0
 public void OnReloadUI()
 {
     videoFormat.text      = options.videoFormat.ToString();
     syncSource.text       = options.syncSource.ToString();
     ringBufferIn.text     = options.inputRingBufferSize.ToString();
     ringBufferOut.text    = options.outputRingBufferSize.ToString();
     hSync.text            = options.outputHorizontalDelay.ToString();
     vSync.text            = options.outputVerticalDelay.ToString();
     droppedFramesIn.text  = UtyGLNvSdi.SdiInputDroppedFramesCount().ToString();
     droppedFramesOut.text = UtyGLNvSdi.SdiOutputDuplicatedFramesCount().ToString();
     gviTime.text          = UtyGLNvSdi.SdiInputGviTime().ToString("0.0000");
     delay.text            = options.outputDelay.ToString("0.0");
 }
Example #2
0
    void Update()
    {
        int drop_in  = UtyGLNvSdi.SdiInputDroppedFramesCount();
        int drop_out = UtyGLNvSdi.SdiOutputDuplicatedFramesCount();

        if (dropFramesIn != drop_in || dropFramesOut != drop_out)
        {
            dropFramesIn         = drop_in;
            droppedFramesIn.text = dropFramesIn.ToString();

            dropFramesOut         = drop_out;
            droppedFramesOut.text = dropFramesOut.ToString();

            gviTime.text = UtyGLNvSdi.SdiInputGviTime().ToString("0.0000");
        }
    }