clock: Return FALSE in all paths that don't set out parameters in gst_clock_add_obser...
authorSebastian Dröge <sebastian@centricular.com>
Fri, 1 Apr 2016 19:41:51 +0000 (22:41 +0300)
committerSebastian Dröge <sebastian@centricular.com>
Fri, 1 Apr 2016 22:34:46 +0000 (01:34 +0300)
commitc32ea3cb58a3edc65d3999c6f4188b6cf913a74c
tree9d98e594519745b911bccd20d60e83aea6f9fa75
parent368ee8a336d0c868d81fdace54b24431a8b48cbf
clock: Return FALSE in all paths that don't set out parameters in gst_clock_add_observation_unapplied()

It returned TRUE when regression failed, while not setting any of the out
parameters. This caused uninitialized data from the stack to be used for
setting the clock calibration.
gst/gstclock.c