diff options
author | slideon <adamkasztenny@gmail.com> | 2016-03-27 16:18:03 -0400 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2016-03-31 20:42:05 +0000 |
commit | 75092faa821b236eaed27b7d0e6f1f1a28d1a2e2 (patch) | |
tree | e5c6c5dc09244727ceaed199a1a83af6c4f54242 /avmedia | |
parent | 485c4f5ba17bdad12db19770ff708b84c938694a (diff) |
tdf#96505 Remove 0L occurences from avmedia and basegfx modules
No compiler warnings on my machine
Change-Id: Ibd303c64f04f6f52272ac19c3069da2f14cb4e9a
Reviewed-on: https://gerrit.libreoffice.org/23558
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Michael Stahl <mstahl@redhat.com>
Diffstat (limited to 'avmedia')
-rw-r--r-- | avmedia/source/gstreamer/gstplayer.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/avmedia/source/gstreamer/gstplayer.cxx b/avmedia/source/gstreamer/gstplayer.cxx index 6d3ff6d22764..620f5e03ec33 100644 --- a/avmedia/source/gstreamer/gstplayer.cxx +++ b/avmedia/source/gstreamer/gstplayer.cxx @@ -432,7 +432,7 @@ static gboolean wrap_element_query_position (GstElement *element, GstFormat form { #ifdef AVMEDIA_GST_0_10 GstFormat my_format = format; - return gst_element_query_position( element, &my_format, cur) && my_format == format && *cur > 0L; + return gst_element_query_position( element, &my_format, cur) && my_format == format && *cur > 0; #else return gst_element_query_position( element, format, cur ); #endif @@ -443,7 +443,7 @@ static gboolean wrap_element_query_duration (GstElement *element, GstFormat form { #ifdef AVMEDIA_GST_0_10 GstFormat my_format = format; - return gst_element_query_duration( element, &my_format, duration) && my_format == format && *duration > 0L; + return gst_element_query_duration( element, &my_format, duration) && my_format == format && *duration > 0; #else return gst_element_query_duration( element, format, duration ); #endif @@ -502,7 +502,7 @@ GstBusSyncReply Player::processSyncMessage( GstMessage *message ) SAL_INFO( "avmedia.gstreamer", AVVERSION << this << " change to paused received" ); if( mnDuration == 0) { - gint64 gst_duration = 0L; + gint64 gst_duration = 0; if( wrap_element_query_duration( mpPlaybin, GST_FORMAT_TIME, &gst_duration) ) mnDuration = gst_duration; } @@ -546,7 +546,7 @@ GstBusSyncReply Player::processSyncMessage( GstMessage *message ) // We get to use the exciting new playbin2 ! (now known as playbin) if( GST_MESSAGE_TYPE( message ) == GST_MESSAGE_ASYNC_DONE ) { if( mnDuration == 0) { - gint64 gst_duration = 0L; + gint64 gst_duration = 0; if( wrap_element_query_duration( mpPlaybin, GST_FORMAT_TIME, &gst_duration) ) mnDuration = gst_duration; } |