mirror of
https://invent.kde.org/graphics/okular
synced 2024-08-25 02:45:38 +00:00
read the showControls and playMode properties of movies (always with poppler head)
svn path=/trunk/KDE/kdegraphics/okular/; revision=851903
This commit is contained in:
parent
335a091ebc
commit
a8fab80008
|
@ -145,6 +145,8 @@ Okular::Movie* createMovieFromPopplerMovie( const Poppler::MovieObject *popplerM
|
|||
Okular::Movie *movie = new Okular::Movie( popplerMovie->url() );
|
||||
movie->setSize( popplerMovie->size() );
|
||||
movie->setRotation( (Okular::Rotation)( popplerMovie->rotation() / 90 ) );
|
||||
movie->setShowControls( popplerMovie->showControls() );
|
||||
movie->setPlayMode( (Okular::Movie::PlayMode)popplerMovie->playMode() );
|
||||
return movie;
|
||||
}
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue