private void vInput_FileSelected(FileBar sender, FileBarEventArgs args) { try { fps.Value = (decimal)new MediaInfoFile(vInput.Filename).Info.FPS; } catch (Exception) { fps.Value = null; } if (string.IsNullOrEmpty(output.Filename)) chooseOutputFilename(); fileUpdated(); checkIO(); }
/* public ISettingsProvider<VideoCodecSettings, VideoInfo, VideoCodec, VideoEncoderType> CurrentVideoCodecSettingsProvider * { * get * { * return videoCodec.SelectedItem as ISettingsProvider<VideoCodecSettings, VideoInfo, VideoCodec, VideoEncoderType>; * } * } */ #endregion #region event handlers private void videoInput_FileSelected(FileBar sender, FileBarEventArgs args) { openVideoFile(videoInput.Filename); }
private void videoOutput_FileSelected(FileBar sender, FileBarEventArgs args) { info.VideoOutput = videoOutput.Filename; }
private void muxedInput_FileSelected(FileBar sender, FileBarEventArgs args) { checkIO(); fileUpdated(); }
private void input_FileSelected(FileBar sender, FileBarEventArgs args) { openVideo(input.Filename); checkIndexIO(); }
private void videoInput_FileSelected(FileBar sender, FileBarEventArgs args) { if (!string.IsNullOrEmpty(videoInput.Filename)) { if (VideoUtil.findDGSource(videoInput.Filename)) { if (VideoUtil.manageCUVIDServer()) openVideoFile(videoInput.Filename); } else openVideoFile(videoInput.Filename); } editZonesButton.Enabled = !string.IsNullOrEmpty(videoInput.Filename); }
private void input_FileSelected(FileBar sender, FileBarEventArgs args) { openVideo(input.Filename); output.Filename = Path.ChangeExtension(input.Filename, ".idx"); checkIndexIO(); }
private void output_FileSelected(FileBar sender, FileBarEventArgs args) { outputChosen = true; }
private void workingDirectory_FileSelected(FileBar sender, FileBarEventArgs args) { updateFilename(); }
private void input_FileSelected(FileBar sender, FileBarEventArgs args) { openInput(input.Filename); }
private void chapters_FileSelected(FileBar sender, FileBarEventArgs args) { fileUpdated(); }
private void input_FileSelected(FileBar sender, FileBarEventArgs args) { //AAA: processing doesn't seem to get set to true anywhere so hopefully safe to remove check openVideo(input.Filename); checkIndexIO(); }
private void output_FileSelected(FileBar sender, FileBarEventArgs args) { checkIndexIO(); }
private void input_FileSelected(FileBar sender, FileBarEventArgs args) { openVideoSource(input.Filename); if (chAutoPreview.Checked == true) previewButton_Click(sender, args); signalAR_Checkedchanged(null, null); }
private void audioInput_FileSelected(FileBar sender, FileBarEventArgs args) { openAudioFile(audioInput.Filename); }