Remove nonfunctional mediaDownloadEnabled property

I suppose this was introduced after an API freeze to try
to support on-disk buffering but since the code does not
set the GST_PLAY_FLAG_DOWNLOAD flag on the player element
the feature is not only undocumented but also nonfunctional.

If on-disk buffering is needed we should add proper
API to enable/disable it for all backends which might
be possible with Qt 5.1 the earliest.

Change-Id: I6b42a06166509db0023a3e0263ecc3a36f0d2bdb
Reviewed-by: Zeno Albisser <zeno.albisser@digia.com>
This commit is contained in:
Andras Becsi
2012-11-19 16:21:50 +01:00
committed by The Qt Project
parent c671cf25b2
commit 78ce69d3dd
3 changed files with 3 additions and 24 deletions

View File

@@ -64,7 +64,6 @@ class QGstreamerPlayerService;
class QGstreamerPlayerControl : public QMediaPlayerControl
{
Q_OBJECT
Q_PROPERTY(bool mediaDownloadEnabled READ isMediaDownloadEnabled WRITE setMediaDownloadEnabled)
public:
QGstreamerPlayerControl(QGstreamerPlayerSession *session, QObject *parent = 0);
@@ -95,9 +94,6 @@ public:
const QIODevice *mediaStream() const;
void setMedia(const QMediaContent&, QIODevice *);
bool isMediaDownloadEnabled() const;
void setMediaDownloadEnabled(bool enabled);
QMediaPlayerResourceSetInterface* resources() const;
public Q_SLOTS: