Skip to content

Commit

Permalink
fix(DVideoWidget): byte preline missing
Browse files Browse the repository at this point in the history
Change-Id: Ie8e746429a8e58278d14d9fea82f6fa3a22644b7
  • Loading branch information
justforlxz committed May 23, 2018
1 parent 565bfd5 commit 856d2f5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/widgets/dvideowidget.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -444,6 +444,7 @@ void DVideoWidget::paintEvent(QPaintEvent *)
frame.bits(),
frame.width(),
frame.height(),
frame.bytesPerLine(),
QVideoFrame::imageFormatFromPixelFormat(frame.pixelFormat()));
frame.unmap();

Expand Down

0 comments on commit 856d2f5

Please sign in to comment.