summaryrefslogtreecommitdiff
path: root/avmedia
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2018-01-11 08:44:02 +0100
committerStephan Bergmann <sbergman@redhat.com>2018-01-11 08:44:02 +0100
commit9bd8b02504973b7c14e599943070e50e98933060 (patch)
tree03da227ecc5d5cbbd05c1bc2fc48cf2aa9b5c4fb /avmedia
parent039a52dfc73c23e61480362a5f0d2ab6e6b4ef8f (diff)
Fix template parameter ambiguity
Change-Id: I52f0134b599ee950e5c9e47a6374e44415a800af
Diffstat (limited to 'avmedia')
-rw-r--r--avmedia/source/vlc/vlcframegrabber.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/avmedia/source/vlc/vlcframegrabber.cxx b/avmedia/source/vlc/vlcframegrabber.cxx
index 51cf22e5c8dc..eedbeacf3574 100644
--- a/avmedia/source/vlc/vlcframegrabber.cxx
+++ b/avmedia/source/vlc/vlcframegrabber.cxx
@@ -81,7 +81,7 @@ VLCFrameGrabber::VLCFrameGrabber( wrapper::EventHandler& eh, const rtl::OUString
return ::uno::Reference< css::graphic::XGraphic >();
}
- mPlayer.setTime( std::max(fMediaTime, 0) * MSEC_IN_SEC );
+ mPlayer.setTime( std::max(fMediaTime, 0.0) * MSEC_IN_SEC );
mPlayer.pause();
condition.wait(std::chrono::seconds(2));