Commit a8fab800 authored by Pino Toscano's avatar Pino Toscano

read the showControls and playMode properties of movies (always with poppler head)

svn path=/trunk/KDE/kdegraphics/okular/; revision=851903
parent 335a091e
......@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment