player: Fix duration-changed CRITICAL warning if duration did not actually change
authorLyon Wang <lyon.wang@nxp.com>
Mon, 4 Jun 2018 08:35:41 +0000 (16:35 +0800)
committerSebastian Dröge <sebastian@centricular.com>
Mon, 4 Jun 2018 18:06:28 +0000 (21:06 +0300)
commit92576e7db83a548fcb54e80e35758a7c10e08cf2
tree792a1a60cbb47e3dfa50f0eacc9e7ffa7ac3b3dd
parent30e5cbcb42262e6981cf3eafaf5d29ea144fbac5
player: Fix duration-changed CRITICAL warning if duration did not actually change

Check if duration is changed before emitting duration-changed signal

https://bugzilla.gnome.org/show_bug.cgi?id=796491
gst-libs/gst/player/gstplayer.c