This commit is contained in:
王志勋 2025-11-04 17:19:29 +08:00
parent 88c24c80e5
commit 6b4ea4974d
5 changed files with 5 additions and 5 deletions

View File

@ -547,7 +547,7 @@ namespace RenderHeads.Media.AVProVideo.Demos
{
if (_mediaPlayer)
{
// TODO: remove this
/*if (mp.Control != null)
{
_sliderVolume.value = mp.Control.GetVolume();

View File

@ -23,7 +23,7 @@ namespace RenderHeads.Media.AVProVideo.Editor
private void OnInspectorGUI_Subtitles()
{
// TODO: add support for multiple targets?
MediaPlayer media = (this.target) as MediaPlayer;
//EditorGUILayout.BeginVertical();

View File

@ -16,7 +16,7 @@ namespace RenderHeads.Media.AVProVideo.Editor
private static List<string> _recentFiles = new List<string>(MaxRecentItems);
private static List<string> _recentUrls = new List<string>(MaxRecentItems);
// TODO: add a list for favourites to allow user to create their own list?
public static List<string> Files { get { return _recentFiles; } }
public static List<string> Urls { get { return _recentUrls; } }

View File

@ -61,7 +61,7 @@ namespace RenderHeads.Media.AVProVideo
{
if (_renderer)
{
// TODO: Remove from renderer
}
_renderer = renderer;
if (_renderer)

View File

@ -549,7 +549,7 @@ namespace RenderHeads.Media.AVProVideo
{
NextPlayer.Play();
}
// TODO: We probably want to wait until the new frame arrives before swapping after a Rewind()
SwapPlayers();
}
else