public MakeCopy_VideoClip ( ) : |
||
리턴 |
public void SetParticulars( VidkaClipVideoAbstract vclip, MetaGeneratorInOtherThread metaGenerator, VidkaFileMapping fileMapping, VidkaProj proj) { this.vclip = vclip; this.metaGenerator = metaGenerator; this.fileMapping = fileMapping; this.proj = proj; // ..... set up the vclip that we will draw vclipFullToDraw = vclip.MakeCopy_VideoClip(); vclipFullToDraw.FrameStart = 0; vclipFullToDraw.FrameEnd = vclipFullToDraw.LengthFrameCalc; // ..... set up UI chkHasCustomAudio.Checked = vclip.HasCustomAudio; txtOffset.Text = "" + vclip.CustomAudioOffset; //shitboxAlignVideoAudioControl.SetParticulars(vclip, fileMapping); SetFilenameLabel(vclip.CustomAudioFilename); updateAudioInfo(vclip); updateDisabilityOfControlBasedOnCheckbox(); }
public void SetParticulars( VidkaClipVideoAbstract vclip, VidkaFileMapping fileMapping) { this.imageMan = new ImageCacheManager(); this.fileMapping = fileMapping; this.vclip = vclip; // set up the vclip that we will draw vclipFullToDraw = vclip.MakeCopy_VideoClip(); vclipFullToDraw.FrameStart = 0; vclipFullToDraw.FrameEnd = vclipFullToDraw.LengthFrameCalc; // set up the audio clip that we will draw aclipToDraw = new VidkaClipAudio() { FileName = vclip.CustomAudioFilename, FileLengthSec = vclip.CustomAudioLengthSec, FileLengthFrames = dimdim.SecToFrame(vclip.CustomAudioLengthSec ?? 0), FrameStart = 0, FrameEnd = dimdim.SecToFrame(vclip.CustomAudioLengthSec ?? 0), }; imageMan.ImagesReady += imageMan_ImagesReady; }