summaryrefslogtreecommitdiff
path: root/avmedia
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2018-01-15 09:07:20 +0100
committerStephan Bergmann <sbergman@redhat.com>2018-01-15 09:07:20 +0100
commit956c04c49d2150328fc0d402d6d156da22d6dfcf (patch)
treecd8724fa9f26548feddfea1259eb88bd3d5e8572 /avmedia
parent3a40d3de89f0b1252974c98e5a5382d6eca67025 (diff)
More loplugin:cstylecast: avmedia
Change-Id: If76a59af4164f08a79334035c904d5e920115d43
Diffstat (limited to 'avmedia')
-rw-r--r--avmedia/source/gstreamer/gstframegrabber.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/avmedia/source/gstreamer/gstframegrabber.cxx b/avmedia/source/gstreamer/gstframegrabber.cxx
index db2f20364b68..45aedd45e375 100644
--- a/avmedia/source/gstreamer/gstframegrabber.cxx
+++ b/avmedia/source/gstreamer/gstframegrabber.cxx
@@ -114,7 +114,7 @@ uno::Reference< graphic::XGraphic > SAL_CALL FrameGrabber::grabFrame( double fMe
gint64 gst_position = llround( fMediaTime * GST_SECOND );
gst_element_seek_simple(
mpPipeline, GST_FORMAT_TIME,
- (GstSeekFlags)(GST_SEEK_FLAG_KEY_UNIT | GST_SEEK_FLAG_FLUSH),
+ GstSeekFlags(GST_SEEK_FLAG_KEY_UNIT | GST_SEEK_FLAG_FLUSH),
gst_position );
GstElement *pSink = gst_bin_get_by_name( GST_BIN( mpPipeline ), "sink" );