/// <summary>
 /// Called when media options have been changed.
 /// </summary>
 /// <param name="sender">The sender.</param>
 /// <param name="mediaInfo">The media information.</param>
 /// <returns>A <see cref="Task"/> representing the asynchronous operation.</returns>
 public Task OnMediaChanged(MediaEngine sender, MediaInfo mediaInfo)
 {
     return(Parent != null?Parent.RaiseMediaChangedEvent(mediaInfo) : Task.CompletedTask);
 }