stub out subtitle writer
This commit is contained in:
parent
4e70530ba6
commit
40272d4a5c
|
@ -62,9 +62,11 @@
|
|||
<Compile Include="Encoder\MediaEncoder.cs" />
|
||||
<Compile Include="Properties\AssemblyInfo.cs" />
|
||||
<Compile Include="Subtitles\ISubtitleParser.cs" />
|
||||
<Compile Include="Subtitles\ISubtitleWriter.cs" />
|
||||
<Compile Include="Subtitles\SrtParser.cs" />
|
||||
<Compile Include="Subtitles\SsaParser.cs" />
|
||||
<Compile Include="Subtitles\SubtitleTrackInfo.cs" />
|
||||
<Compile Include="Subtitles\VttWriter.cs" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\MediaBrowser.Common\MediaBrowser.Common.csproj">
|
||||
|
|
17
MediaBrowser.MediaEncoding/Subtitles/ISubtitleWriter.cs
Normal file
17
MediaBrowser.MediaEncoding/Subtitles/ISubtitleWriter.cs
Normal file
|
@ -0,0 +1,17 @@
|
|||
using System.IO;
|
||||
|
||||
namespace MediaBrowser.MediaEncoding.Subtitles
|
||||
{
|
||||
/// <summary>
|
||||
/// Interface ISubtitleWriter
|
||||
/// </summary>
|
||||
public interface ISubtitleWriter
|
||||
{
|
||||
/// <summary>
|
||||
/// Writes the specified information.
|
||||
/// </summary>
|
||||
/// <param name="info">The information.</param>
|
||||
/// <param name="stream">The stream.</param>
|
||||
void Write(SubtitleTrackInfo info, Stream stream);
|
||||
}
|
||||
}
|
16
MediaBrowser.MediaEncoding/Subtitles/VttWriter.cs
Normal file
16
MediaBrowser.MediaEncoding/Subtitles/VttWriter.cs
Normal file
|
@ -0,0 +1,16 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.IO;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace MediaBrowser.MediaEncoding.Subtitles
|
||||
{
|
||||
public class VttWriter : ISubtitleWriter
|
||||
{
|
||||
public void Write(SubtitleTrackInfo info, Stream stream)
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user