else
return new CloneablePushBufferDataSource((PushBufferDataSource) source);
}
else if (source instanceof PullBufferDataSource)
{ if (source instanceof CaptureDevice)
return new CloneableCaptureDevicePullBufferDataSource((PullBufferDataSource) source);
else
return new CloneablePullBufferDataSource((PullBufferDataSource) source);
}
else if (source instanceof PushDataSource)
{ if (source instanceof CaptureDevice)