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