mirror of https://github.com/f1xpl/openauto.git
Ignore video aspect ratio in Qt MediaPlayer
parent
648924d7be
commit
88cc45ac2e
|
@ -78,6 +78,7 @@ void QtVideoOutput::write(uint64_t, const aasdk::common::DataConstBuffer& buffer
|
|||
|
||||
void QtVideoOutput::onStartPlayback()
|
||||
{
|
||||
videoWidget_->setAspectRatioMode(Qt::IgnoreAspectRatio);
|
||||
videoWidget_->setFocus();
|
||||
videoWidget_->setWindowFlags(Qt::WindowStaysOnTopHint);
|
||||
videoWidget_->setFullScreen(true);
|
||||
|
|
Loading…
Reference in New Issue