Diffstat (limited to 'noncore/multimedia/opieplayer2/xinevideowidget.cpp') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/multimedia/opieplayer2/xinevideowidget.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/noncore/multimedia/opieplayer2/xinevideowidget.cpp b/noncore/multimedia/opieplayer2/xinevideowidget.cpp index 1ac9277..9e86041 100644 --- a/noncore/multimedia/opieplayer2/xinevideowidget.cpp +++ b/noncore/multimedia/opieplayer2/xinevideowidget.cpp | |||
@@ -289,6 +289,8 @@ void XineVideoWidget::setVideoFrame ( uchar* img, int w, int h, int bpl ) | |||
289 | // only repaint the area that *really* needs to be repainted | 289 | // only repaint the area that *really* needs to be repainted |
290 | 290 | ||
291 | repaint ((( m_thisframe & m_lastframe ) != m_lastframe ) ? m_lastframe : m_thisframe, false ); | 291 | repaint ((( m_thisframe & m_lastframe ) != m_lastframe ) ? m_lastframe : m_thisframe, false ); |
292 | // ensure that we always have a valid frame! | ||
293 | m_buff = 0; | ||
292 | } | 294 | } |
293 | 295 | ||
294 | void XineVideoWidget::resizeEvent ( QResizeEvent * ) | 296 | void XineVideoWidget::resizeEvent ( QResizeEvent * ) |