rtsp-stream: get valid clock-rate from last-sample
authorHyunjun Ko <zzoon.ko@samsung.com>
Mon, 27 Apr 2015 10:35:53 +0000 (19:35 +0900)
committerSebastian Dröge <sebastian@centricular.com>
Mon, 27 Apr 2015 10:41:59 +0000 (12:41 +0200)
commit4ff22ef6d25ffb989ffa57b1f199afd85572e324
tree6564fd19ebb0f6d27ca6bcf0ea463b42db7016ab
parentf777de7d7f33b4982bdf39db59b4680482bcea3a
rtsp-stream: get valid clock-rate from last-sample

clock-rate in last-sample's caps is integer, not unsigned.
To get this value properly, variable needs to be type-casted to int.

https://bugzilla.gnome.org/show_bug.cgi?id=747614
gst/rtsp-server/rtsp-stream.c