/// <summary>
 /// Creates a new instance of SmoothStreamingMediaElementWrapper
 /// </summary>
 public SmoothStreamingMediaElementWrapper()
 {
     markers = new TimelineMarkerCollection();
     base.EnableGPUAcceleration = true;
     base.LogReady += SmoothStreamingMediaElement_LogReady;
     base.SeekCompleted += SmoothStreamingMediaElement_SeekCompleted;
     templateAppliedTaskSource = new TaskCompletionSource<object>();
     base.MediaOpened += SmoothStreamingMediaElementWrapper_MediaOpened;
 }
Пример #2
0
 /// <summary>
 /// Creates a new instance of SmoothStreamingMediaElementWrapper
 /// </summary>
 public SmoothStreamingMediaElementWrapper()
 {
     markers = new TimelineMarkerCollection();
     base.EnableGPUAcceleration = true;
     base.LogReady            += SmoothStreamingMediaElement_LogReady;
     base.SeekCompleted       += SmoothStreamingMediaElement_SeekCompleted;
     templateAppliedTaskSource = new TaskCompletionSource <object>();
     base.MediaOpened         += SmoothStreamingMediaElementWrapper_MediaOpened;
 }
Пример #3
0
 public MarkerHelper()
 {
     Markers = new TimelineMarkerCollection();
 }
 public MarkerHelper()
 {
     Markers = new TimelineMarkerCollection();
 }