Skip to content

Commit

Permalink
Merge branch 'early-orientation' into 'master'
Browse files Browse the repository at this point in the history
[nemo-qtmultimedia-plugins] make sure orientation set before init() is applied

See merge request mer-core/nemo-qtmultimedia-plugins!5
  • Loading branch information
pvuorela committed Oct 28, 2019
2 parents 3f8f24b + 679790d commit f80d13a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/videotexturebackend/videotexturebackend.cpp
Expand Up @@ -648,6 +648,8 @@ bool NemoVideoTextureBackend::init(QMediaService *service)
m_service = service;
m_control->setElement(m_sink);

m_orientation = q->orientation();

connect(this, SIGNAL(nativeSizeChanged()), q, SLOT(_q_updateNativeSize()));
connect(q, SIGNAL(orientationChanged()), this, SLOT(orientationChanged()));
connect(q, SIGNAL(sourceChanged()), this, SLOT(sourceChanged()));
Expand Down

0 comments on commit f80d13a

Please sign in to comment.