summaryrefslogtreecommitdiffstats
path: root/avmedia/source/gstreamer/gstplayer.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-05-19 10:26:30 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-05-19 12:53:42 +0200
commit3d8400a8d938be7b116298d6a79bb49d7cc0cc99 (patch)
treec1ae099e540025c1dfa7e6d62f6f6d9e5ce90c12 /avmedia/source/gstreamer/gstplayer.cxx
parentloplugin:comparisonwithconstant in basic (diff)
downloadcore-3d8400a8d938be7b116298d6a79bb49d7cc0cc99.tar.gz
core-3d8400a8d938be7b116298d6a79bb49d7cc0cc99.zip
loplugin:comparisonwithconstant in accessibility..basegfx
re-running this plugin on these modules now that sberg has improved the plugin. Change-Id: I1818b1fa540cf62b81219a4f3ed2dcae8ff0e838 Reviewed-on: https://gerrit.libreoffice.org/37805 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'avmedia/source/gstreamer/gstplayer.cxx')
-rw-r--r--avmedia/source/gstreamer/gstplayer.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/avmedia/source/gstreamer/gstplayer.cxx b/avmedia/source/gstreamer/gstplayer.cxx
index 5b7559bf74d4..bc2d7493071d 100644
--- a/avmedia/source/gstreamer/gstplayer.cxx
+++ b/avmedia/source/gstreamer/gstplayer.cxx
@@ -688,7 +688,7 @@ void SAL_CALL Player::start()
::osl::MutexGuard aGuard(m_aMutex);
// set the pipeline state to READY and run the loop
- if( mbInitialized && nullptr != mpPlaybin )
+ if( mbInitialized && mpPlaybin != nullptr )
{
gst_element_set_state( mpPlaybin, GST_STATE_PLAYING );
mbPlayPending = true;