2011-10-08, 08:00 PM
The biggest change from GBPVR is you used to close the media stream when you got the stop now it plays for a while. The wait delayed the GUI but it was still less then 10ms from when you send the stop on the media stream, in this crash I just had.
Martin
Code:
2011-10-08 15:47:14.557 [DEBUG][3] User pressed: Escape
2011-10-08 15:47:14.557 [DEBUG][3] About to store playback position information
2011-10-08 15:47:14.557 [DEBUG][3] PlaybackPositionHelper.StorePlaybackPosition(C:\movies\GameTrailers TV With Geoff Keighley\GameTrailers TV With Geoff Keighley_20100814_00300100.ts, 45, 1187)
2011-10-08 15:47:14.573 [DEBUG][7] Request completed. 200000 bytes sent
2011-10-08 15:47:14.587 [DEBUG][3] Sending 'Stop' Request
2011-10-08 15:47:14.587 [DEBUG][3] Waiting 500ms to give MVP a chance to asynchronously stop...
2011-10-08 15:47:14.625 [DEBUG][7] Received: STREAM_GETDATA
2011-10-08 15:47:14.625 [DEBUG][7] RollingFile.Position returning 32235953
2011-10-08 15:47:14.625 [DEBUG][7] Request 200000 bytes (file size:835363900 file location: 32235953)
2011-10-08 15:47:14.625 [DEBUG][7] about to read 200000 from location 32235953 (current length = 835363900)
2011-10-08 15:47:14.625 [DEBUG][7] RollingFile.Position returning 32435953
2011-10-08 15:47:14.723 [DEBUG][7] Request completed. 200000 bytes sent
2011-10-08 15:47:14.801 [DEBUG][7] Received: STREAM_GETDATA
2011-10-08 15:47:14.801 [DEBUG][7] RollingFile.Position returning 32435953
2011-10-08 15:47:14.801 [DEBUG][7] Request 200000 bytes (file size:835363900 file location: 32435953)
2011-10-08 15:47:14.801 [DEBUG][7] about to read 200000 from location 32435953 (current length = 835363900)
2011-10-08 15:47:14.801 [DEBUG][7] RollingFile.Position returning 32635953
2011-10-08 15:47:14.915 [DEBUG][7] Request completed. 200000 bytes sent
2011-10-08 15:47:14.915 [DEBUG][7] Received: STREAM_STOP
2011-10-08 15:47:15.002 [DEBUG][7] RollingFile.Close()
2011-10-08 15:47:15.002 [DEBUG][7] Posting PLAYBACK_ENDED
2011-10-08 15:47:15.087 [DEBUG][3] PLAYBACK_STOPPED
2011-10-08 15:47:15.087 [DEBUG][3] UiStatic.Dispose()
2011-10-08 15:47:15.090 [DEBUG][3] OnKeyDown() complete
2011-10-08 15:47:15.090 [DEBUG][3] MVP sending frame
Martin