GNOME Bugzilla – Bug 751500
dashdemux: incorrect use of timeShiftBufferDepth
Last modified: 2015-08-16 13:40:42 UTC
If not set, the timeShiftBufferDepth has a default value of -1. The standard says that this should be interpreted as infinite. The gst_mpd_client_check_time_position function incorrectly compares timeShiftBufferDepth with 0 instead of -1 to determine if it was set.
Created attachment 306108 [details] [review] proposed patch
commit fa9b03186ac8999b3b5632cd567f18b497df22d2 Author: Florin Apostol <florin.apostol@oregan.net> Date: Thu Jun 25 15:05:20 2015 +0100 dash: Correct check for valid timeShiftBufferDepth If not set, the timeShiftBufferDepth has a default value of -1. The standard says that this should be interpreted as infinite. The gst_mpd_client_check_time_position function incorrectly compares timeShiftBufferDepth with 0 instead of -1 to determine if it was set. https://bugzilla.gnome.org/show_bug.cgi?id=751500