Media is always set to be seekable with the gstreamer backend
authorAndras Becsi <andras.becsi@digia.com>
Mon, 19 Nov 2012 12:59:32 +0000 (13:59 +0100)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Tue, 20 Nov 2012 10:54:49 +0000 (11:54 +0100)
commit30bfb777f9870aea7938a12598a57f7882972c4b
treeeedaa74f41824a133f4e234150a421d0498c87b3
parentd00113c6ac5e4fa32acac3bb51589bdb4a5932af
Media is always set to be seekable with the gstreamer backend

Since the used mechanism for querying whether the media is seekable
was unreliable the code has been commented out and the media always
set to be seekable.
Query for seeking capabilities after the duration is known in
updateDuration() which retries to determine the duration multiple
times if unsuccessful and use gst_query_parse_seeking to check
if the media is seekable or not.

Change-Id: I141dfb1616dc59f8c92a698ddb2867f63a2656b9
Reviewed-by: Zeno Albisser <zeno.albisser@digia.com>
Reviewed-by: Yoann Lopes <yoann.lopes@digia.com>
src/plugins/gstreamer/mediaplayer/qgstreamerplayersession.cpp