Add hidden debug mode with fake audio and video output

This commit is contained in:
Iwan Timmer
2014-02-17 16:32:56 +01:00
parent 0fe5ede16d
commit 49567b0822
3 changed files with 76 additions and 1 deletions

View File

@@ -0,0 +1,33 @@
package com.limelight.binding.video;
import com.limelight.nvstream.av.DecodeUnit;
import com.limelight.nvstream.av.video.VideoDecoderRenderer;
/**
* Implementation of a video decoder and renderer.
* @author Iwan Timmer
*/
public class FakeVideoRenderer implements VideoDecoderRenderer {
@Override
public void setup(int width, int height, int redrawRate, Object renderTarget, int drFlags) {
}
@Override
public void start() {
}
@Override
public void stop() {
}
@Override
public void release() {
}
@Override
public boolean submitDecodeUnit(DecodeUnit decodeUnit) {
return true;
}
}