public Paste ( |
||
sourceStream | Pointer to the unmanaged stream to copy from | |
copyPosition | int | Index of the first frame to copy |
pastePosition | int | Where to paste the copied frames |
length | int | Count of frames to paste |
Результат | void |
public void Paste(IntPtr sourceStream, int copyPosition, int pastePosition, int length)
{
int pastedLength = 0;
int result = Avi.EditStreamPaste(editableStream, ref pastePosition, ref pastedLength, sourceStream, copyPosition, length);
if (result != 0) {
throw new Exception("Exception in Paste: " + result.ToString());
}
countFrames += pastedLength;
}
EditableVideoStream::Paste ( |