Open folibis opened 5 years ago
Hello,
Did you resolve this issue? It seems that you need to modify some code in Invalidate method of VideoView.xaml.cs. I think that _writeableBitmap.BackBuffer should be replaced by _writeableBitmap.BackBuffer + offset, where offset could be calculated through frame width and pixel size
So far I use the following code:
where
_width
and_height
are the size of theWriteableBitmap
. But in case the frame size rate is different from the bitmap one the video is rendering as left aligned. How can I center it? #