Remove the EDL option for the skip button since it's not working
This commit is contained in:
parent
6c04f26407
commit
75352dd1c4
@ -150,8 +150,6 @@
|
||||
|
||||
<option value="Cut">Cut (player will remove the intro from the video)</option>
|
||||
|
||||
<option value="Intro">Intro/Credit (show a skip button, *experimental*)</option>
|
||||
|
||||
<option value="Mute">Mute (audio will be muted)</option>
|
||||
|
||||
<option value="SceneMarker">Scene Marker (create a chapter marker)</option>
|
||||
|
@ -11,32 +11,22 @@ public enum EdlAction
|
||||
None = -1,
|
||||
|
||||
/// <summary>
|
||||
/// Completely remove the intro from playback as if it was never in the original video.
|
||||
/// Completely remove the segment from playback as if it was never in the original video.
|
||||
/// </summary>
|
||||
Cut,
|
||||
Cut = 0,
|
||||
|
||||
/// <summary>
|
||||
/// Mute audio, continue playback.
|
||||
/// </summary>
|
||||
Mute,
|
||||
Mute = 1,
|
||||
|
||||
/// <summary>
|
||||
/// Inserts a new scene marker.
|
||||
/// </summary>
|
||||
SceneMarker,
|
||||
SceneMarker = 2,
|
||||
|
||||
/// <summary>
|
||||
/// Automatically skip the intro once during playback.
|
||||
/// Automatically skip once during playback.
|
||||
/// </summary>
|
||||
CommercialBreak,
|
||||
|
||||
/// <summary>
|
||||
/// Show a skip button.
|
||||
/// </summary>
|
||||
Intro,
|
||||
|
||||
/// <summary>
|
||||
/// Show a skip button.
|
||||
/// </summary>
|
||||
Credit,
|
||||
CommercialBreak = 3
|
||||
}
|
||||
|
@ -97,15 +97,8 @@ public static class EdlManager
|
||||
edlContent += Environment.NewLine;
|
||||
}
|
||||
|
||||
if (action == EdlAction.Intro)
|
||||
{
|
||||
edlContent += credit?.ToEdl(EdlAction.Credit);
|
||||
}
|
||||
else
|
||||
{
|
||||
edlContent += credit?.ToEdl(action);
|
||||
}
|
||||
}
|
||||
|
||||
File.WriteAllText(edlPath, edlContent);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user