else
return new CloneablePullBufferDataSource((PullBufferDataSource) source);
}
else if (source instanceof PushDataSource)
{ if (source instanceof CaptureDevice)
return new CloneableCaptureDevicePushDataSource((PushDataSource) source);
else
return new CloneablePushDataSource((PushDataSource) source);
}
else if (source instanceof PullDataSource)
{ if (source instanceof CaptureDevice)