author | Mark Nauwelaerts <mark.nauwelaerts@collabora.co.uk> | |
Thu, 29 Jul 2010 15:27:06 +0000 (17:27 +0200) | ||
committer | Mark Nauwelaerts <mark.nauwelaerts@collabora.co.uk> | |
Thu, 29 Jul 2010 15:29:00 +0000 (17:29 +0200) | ||
commit | 2057cf6d79451e81a25babd9a8965bdc56c427b3 | |
tree | 1c2eb974ac6420b7465f0692a68d1b715b2f9258 | tree | snapshot (tar.xz tar.gz zip) |
parent | 29289ee79e1b49b6dcbb314bee8c760395e5c8e9 | commit | diff |
queue2: download mode; prevent range corruption due to race
Current range was being updated in the thread performing seek, but as
no locks were kept for a short section, data flow could resume before
current range updated, so data for the new range would be accepted as
from the previous range.
Rather, range should be updated in serialized manner based on
newsegment event.
Current range was being updated in the thread performing seek, but as
no locks were kept for a short section, data flow could resume before
current range updated, so data for the new range would be accepted as
from the previous range.
Rather, range should be updated in serialized manner based on
newsegment event.
plugins/elements/gstqueue2.c | diff | blob | history |