I have code like this:
MediaElement me = myPlayer.MediaElement;
WriteableBitmap wb = new WriteableBitmap(me.NaturalVideoWidth, me.NaturalVideoHeight);
wb.Render(me, null);
I want make thumbnails from video in run-time. It works fine with one little quirk. When video in the media element is paused the bitmap image comes broken. Like a corrupted jpeg. Sometime it is black square with some random coloured dots...
I think it is Silverlight bug. My question - is there a workaround?