From cdd82cbb068fcd3bcaebf49caaa846fdbef7adf9 Mon Sep 17 00:00:00 2001 From: goyuken Date: Sun, 6 May 2012 22:18:16 +0000 Subject: [PATCH] Rename VideoWriter IVideoWriter per zeromus --- BizHawk.MultiClient/AviWriter.cs | 2 +- BizHawk.MultiClient/BizHawk.MultiClient.csproj | 2 +- BizHawk.MultiClient/{VideoWriter.cs => IVideoWriter.cs} | 2 +- BizHawk.MultiClient/MainForm.cs | 4 ++-- 4 files changed, 5 insertions(+), 5 deletions(-) rename BizHawk.MultiClient/{VideoWriter.cs => IVideoWriter.cs} (94%) diff --git a/BizHawk.MultiClient/AviWriter.cs b/BizHawk.MultiClient/AviWriter.cs index 1094338f9e..7f406bcf21 100644 --- a/BizHawk.MultiClient/AviWriter.cs +++ b/BizHawk.MultiClient/AviWriter.cs @@ -10,7 +10,7 @@ using BizHawk; namespace BizHawk.MultiClient { - class AviWriter : VideoWriter + class AviWriter : IVideoWriter { CodecToken currVideoCodecToken = null; AviWriterSegment currSegment; diff --git a/BizHawk.MultiClient/BizHawk.MultiClient.csproj b/BizHawk.MultiClient/BizHawk.MultiClient.csproj index a5a2ef0a59..c4c5ebd709 100644 --- a/BizHawk.MultiClient/BizHawk.MultiClient.csproj +++ b/BizHawk.MultiClient/BizHawk.MultiClient.csproj @@ -292,7 +292,7 @@ - + GifAnimator.cs diff --git a/BizHawk.MultiClient/VideoWriter.cs b/BizHawk.MultiClient/IVideoWriter.cs similarity index 94% rename from BizHawk.MultiClient/VideoWriter.cs rename to BizHawk.MultiClient/IVideoWriter.cs index b0855cde9d..ace087e2bd 100644 --- a/BizHawk.MultiClient/VideoWriter.cs +++ b/BizHawk.MultiClient/IVideoWriter.cs @@ -4,7 +4,7 @@ using System.Collections.Generic; namespace BizHawk { - public interface VideoWriter : IDisposable + public interface IVideoWriter : IDisposable { /// /// sets the codec token to be used for video compression diff --git a/BizHawk.MultiClient/MainForm.cs b/BizHawk.MultiClient/MainForm.cs index 1f700e2a1b..b22e9ccd25 100644 --- a/BizHawk.MultiClient/MainForm.cs +++ b/BizHawk.MultiClient/MainForm.cs @@ -32,7 +32,7 @@ namespace BizHawk.MultiClient public bool PressRewind = false; //avi/wav state - VideoWriter CurrAviWriter = null; + IVideoWriter CurrAviWriter = null; //runloop control bool exit; @@ -2666,7 +2666,7 @@ namespace BizHawk.MultiClient //TODO - cores should be able to specify exact values for these instead of relying on this to calculate them int fps = (int)(Global.Emulator.CoreOutputComm.VsyncRate * 0x01000000); - VideoWriter aw = new AviWriter(); + IVideoWriter aw = new AviWriter(); try { aw.SetMovieParameters(fps, 0x01000000);