diff options
author | Qt Continuous Integration System <qt-info@nokia.com> | 2010-02-26 08:31:37 (GMT) |
---|---|---|
committer | Qt Continuous Integration System <qt-info@nokia.com> | 2010-02-26 08:31:37 (GMT) |
commit | d7616f00149a1d520f291fdb2b934bd36bbd7c90 (patch) | |
tree | bc9102f0de27982f793d555db4bf21b88fa8069d /src/multimedia/base | |
parent | ae13ad51dda7246e73d282165201f637d04a667e (diff) | |
parent | 755928a3b45d4abb62a758e215263e950b1bed41 (diff) | |
download | Qt-d7616f00149a1d520f291fdb2b934bd36bbd7c90.zip Qt-d7616f00149a1d520f291fdb2b934bd36bbd7c90.tar.gz Qt-d7616f00149a1d520f291fdb2b934bd36bbd7c90.tar.bz2 |
Merge branch 'master' of scm.dev.nokia.troll.no:qt/qt-multimedia-staging into master-integration
* 'master' of scm.dev.nokia.troll.no:qt/qt-multimedia-staging:
Rebuild configure.exe
Make the Direct Show media service compile with a Qt namespace.
Make the Direct Show media service compile with mingw.
QT7; Fix warnings.
Qt namespace fixes.
Fixed QTMoview object leak.
QMediaContent: Add a convenience method to retrieve the QNetworkRequest.
Use the monitor color space for video output.
Test for the existance of the Windows Media SDK in configure.
Try to start media playback on all load state changes.
Remove all uses of __uuidof from the Direct Show media service.
QT7; Add support for setting cookies when loading a movie.
Diffstat (limited to 'src/multimedia/base')
-rw-r--r-- | src/multimedia/base/qmediacontent.cpp | 9 | ||||
-rw-r--r-- | src/multimedia/base/qmediacontent.h | 1 |
2 files changed, 10 insertions, 0 deletions
diff --git a/src/multimedia/base/qmediacontent.cpp b/src/multimedia/base/qmediacontent.cpp index 6f158d2..b6bf56b 100644 --- a/src/multimedia/base/qmediacontent.cpp +++ b/src/multimedia/base/qmediacontent.cpp @@ -207,6 +207,15 @@ QUrl QMediaContent::canonicalUrl() const } /*! + Returns a QNetworkRequest that represents that canonical resource for this media content. +*/ + +QNetworkRequest QMediaContent::canonicalRequest() const +{ + return canonicalResource().request(); +} + +/*! Returns a QMediaResource that represents that canonical resource for this media content. */ diff --git a/src/multimedia/base/qmediacontent.h b/src/multimedia/base/qmediacontent.h index b6f3017..5a279c1 100644 --- a/src/multimedia/base/qmediacontent.h +++ b/src/multimedia/base/qmediacontent.h @@ -75,6 +75,7 @@ public: bool isNull() const; QUrl canonicalUrl() const; + QNetworkRequest canonicalRequest() const; QMediaResource canonicalResource() const; QMediaResourceList resources() const; |