diff options
author | Herbert Dürr <hdu@apache.org> | 2014-05-12 16:07:09 +0000 |
---|---|---|
committer | Tor Lillqvist <tml@collabora.com> | 2014-05-15 18:49:14 +0300 |
commit | 754380524d6b9f3b5f49629ac8b3ad392cc5173c (patch) | |
tree | a0b4ea19d4b3773662c8c3f9edfca929549e98a7 /avmedia/source/macavf/framegrabber.hxx | |
parent | f3b314413336eb60e66886f48b56149bb586d830 (diff) |
AOO: #i124875# avoid wasteful loading of an AVAsset in MacAVF::Framegrabber
FrameGrabber used to load its own copy of a movie. Since multimedia content
is often very data-intensive this should and can be avoided by using the
movie asset already available in the Player.
Change-Id: I5ace1d1751b38839ef051ce0dc0328308325b269
Diffstat (limited to 'avmedia/source/macavf/framegrabber.hxx')
-rw-r--r-- | avmedia/source/macavf/framegrabber.hxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/avmedia/source/macavf/framegrabber.hxx b/avmedia/source/macavf/framegrabber.hxx index 14020cd82e4c..0ac32cc37dd4 100644 --- a/avmedia/source/macavf/framegrabber.hxx +++ b/avmedia/source/macavf/framegrabber.hxx @@ -39,6 +39,7 @@ public: virtual ~FrameGrabber(); bool create( const ::rtl::OUString& rURL ); + bool create( AVAsset* pMovie ); // XFrameGrabber virtual ::com::sun::star::uno::Reference< ::com::sun::star::graphic::XGraphic > SAL_CALL grabFrame( double fMediaTime ) throw (::com::sun::star::uno::RuntimeException); |