Rename VideoWriter IVideoWriter per zeromus
This commit is contained in:
parent
02ca0e82e9
commit
cdd82cbb06
|
@ -10,7 +10,7 @@ using BizHawk;
|
|||
|
||||
namespace BizHawk.MultiClient
|
||||
{
|
||||
class AviWriter : VideoWriter
|
||||
class AviWriter : IVideoWriter
|
||||
{
|
||||
CodecToken currVideoCodecToken = null;
|
||||
AviWriterSegment currSegment;
|
||||
|
|
|
@ -292,7 +292,7 @@
|
|||
</Compile>
|
||||
<Compile Include="Program.cs" />
|
||||
<Compile Include="Properties\AssemblyInfo.cs" />
|
||||
<Compile Include="VideoWriter.cs" />
|
||||
<Compile Include="IVideoWriter.cs" />
|
||||
<EmbeddedResource Include="config\GifAnimator.resx">
|
||||
<DependentUpon>GifAnimator.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
|
|
|
@ -4,7 +4,7 @@ using System.Collections.Generic;
|
|||
|
||||
namespace BizHawk
|
||||
{
|
||||
public interface VideoWriter : IDisposable
|
||||
public interface IVideoWriter : IDisposable
|
||||
{
|
||||
/// <summary>
|
||||
/// sets the codec token to be used for video compression
|
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue