Yoann Lopes [Fri, 27 Sep 2013 09:24:10 +0000 (11:24 +0200)]
Android: refactor video renderer.
Removed the overhead of having to create a shared OpenGL context in the GUI
thread and pre-render the frame into a FBO.
We now directly render the GL_TEXTURE_EXTERNAL_OES in the QtQuick render
thread, using an Android-specific QSGVideoNode.
We also use a callback from the render thread to create the texture from
there and not have to create a separate shared OpenGL context.
Change-Id: I6c8eb94b47d0a03329c912701b8af3fb5ebd1876
Reviewed-by: Christian Stromme <christian.stromme@digia.com>
Friedemann Kleint [Fri, 27 Sep 2013 14:39:28 +0000 (16:39 +0200)]
Fix lupdate warning in playlistparser.
playlistfileparser.cpp:278: Class 'PLSParser' lacks Q_OBJECT macro.
Change-Id: I062bd90b7cd5de82683dc02c6a6400855982a163
Reviewed-by: Yoann Lopes <yoann.lopes@digia.com>
Yoann Lopes [Fri, 27 Sep 2013 10:09:32 +0000 (12:09 +0200)]
VideoOutput: take the video format's scanLineDirection into account.
Task-number: QTBUG-30442
Change-Id: Ic950d66cb35a937ccf3862089e0060819b6d6f34
Reviewed-by: Andy Nichols <andy.nichols@digia.com>
Christian Strømme [Thu, 26 Sep 2013 12:26:25 +0000 (14:26 +0200)]
Android: Make sure the OpenSL plugin is included on Android.
Change-Id: Ic46dd8afe50250bb30754ce12eda57138d05b81d
Reviewed-by: Yoann Lopes <yoann.lopes@digia.com>
Yoann Lopes [Thu, 26 Sep 2013 09:51:49 +0000 (11:51 +0200)]
Android: fix plugin json metadata.
Change-Id: I0f2feca44843760df13a938d9190daf2d447d645
Reviewed-by: Christian Stromme <christian.stromme@digia.com>
Mitch Curtis [Fri, 20 Sep 2013 14:21:26 +0000 (16:21 +0200)]
Fix "conversion from 'double' to 'float'" warnings on MSVC2010.
Change-Id: I209d76fa2d87ad2eb540c750b8c4efb865441aae
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
Yoann Lopes [Fri, 20 Sep 2013 12:02:24 +0000 (14:02 +0200)]
Some cleanup in the GStreamer plugin.
Removed QGstreamerVideoOverlay and related classes. It was used as
'Window' control but performs worse than QGstreamerVideoWindow which
does basically the same thing using GStreamer ready-made components
instead.
Removed X11 dependencies and related configuration tests. It was only
needed for QGstreamerVideoOverlay.
Change-Id: I2ad2636ccf0060e56cd64f3d9e5b3c24dc75f5a3
Reviewed-by: Andy Nichols <andy.nichols@digia.com>
Christian Strømme [Thu, 12 Sep 2013 11:14:56 +0000 (13:14 +0200)]
Android: Adapt the multimedia plugin to new QJNI API
Change-Id: Id87f5518724eed6c9de6d5d3b8141860bd511643
Reviewed-by: Yoann Lopes <yoann.lopes@digia.com>
Yoann Lopes [Thu, 19 Sep 2013 11:59:36 +0000 (13:59 +0200)]
Android: fix compilation on x86.
Task-number: QTBUG-33554
Change-Id: I4da7410d3b77ec6d72a73d3b6ceb7b76bb48d2b7
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@digia.com>
Andy Nichols [Fri, 8 Mar 2013 14:18:36 +0000 (15:18 +0100)]
CoreAudio: Create an audio plugin supporting iOS and OS X
This removes the Mac audio backend that was hardcoded into QtMultimedia
and adds a new audio plugin using the CoreAudio API.
Change-Id: Ib15291825f9452a3763e0eeb281d952deb0bad3d
Reviewed-by: Richard Moe Gustavsen <richard.gustavsen@digia.com>
Reviewed-by: Christian Stromme <christian.stromme@digia.com>
Reviewed-by: Yoann Lopes <yoann.lopes@digia.com>
Christian Strømme [Thu, 12 Sep 2013 13:14:44 +0000 (15:14 +0200)]
OpenSL: Fix build warning about unused result variable.
Change-Id: I11a4a3792feb90c46d4f3a77aafa82c18a9d9a45
Reviewed-by: Yoann Lopes <yoann.lopes@digia.com>
Yoann Lopes [Tue, 17 Sep 2013 15:00:28 +0000 (17:00 +0200)]
Fix QVideoSurfaceArbFpPainter mistakenly failing to start in some cases.
If an OpenGL error occurred before starting the video painter, it would
fail to do so. This patch simply makes sure the OpenGL error flag is
cleared before checking for GL errors that would occur in
QVideoSurfaceArbFpPainter's code.
Change-Id: I2eacf6db03cb290adf00a9faf11145c7a6ade565
Reviewed-by: Christian Stromme <christian.stromme@digia.com>
Thiago Macieira [Sat, 14 Sep 2013 17:31:01 +0000 (10:31 -0700)]
Remove Q_PACKED from structs that don't need to be packed
Those classes don't contain padding, they don't need to be packed. The
only reason to be packed was to deal with bad alignment of the WAV
file.
Since Q_PACKED wasn't present in all compilers, this might have been a
latent bug. If that was the case, then force it to happen with more
compilers.
Change-Id: I8449b6bab5d62c1b7e08b9bc205b4b149ed55e28
Reviewed-by: Olivier Goffart <ogoffart@woboq.com>
Reviewed-by: Sergio Ahumada <sergio.ahumada@digia.com>
Yoann Lopes [Tue, 17 Sep 2013 14:53:38 +0000 (16:53 +0200)]
Stabilized QPainterVideoSurface auto-test.
Change-Id: Idfd6f8396dce223be1c73ad56c6f7f66ca9d5d25
Reviewed-by: Sergio Ahumada <sergio.ahumada@digia.com>
Christian Strømme [Thu, 12 Sep 2013 13:27:44 +0000 (15:27 +0200)]
OpenSL: Fix typos
Change-Id: I1a293bbf8ad3d9016ff6a7ec816c33d3303e5959
Reviewed-by: Yoann Lopes <yoann.lopes@digia.com>
Yoann Lopes [Mon, 25 Mar 2013 17:11:27 +0000 (18:11 +0100)]
Android: added camera support.
This patch includes all camera features: viewport, settings, image
capture, and video recording.
It also adds support for QAudioRecorder.
Change-Id: Ib962177cc8de4bac03f42a2bc0f534e03464bbfc
Reviewed-by: Christian Stromme <christian.stromme@digia.com>
Pier Luigi Fiorini [Sat, 7 Sep 2013 17:56:02 +0000 (19:56 +0200)]
Fix the X11 build error
This makes qtmultimedia build again by moving down X11 includes.
See http://lists.qt-project.org/pipermail/development/2013-September/012986.html
Change-Id: If6cd5e80c27de7aaa8d2a65ded05500ed9d0e692
Reviewed-by: Konstantin Ritt <ritt.ks@gmail.com>
Reviewed-by: Laszlo Papp <lpapp@kde.org>
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Reviewed-by: Yoann Lopes <yoann.lopes@digia.com>
Sergio Ahumada [Fri, 6 Sep 2013 12:32:51 +0000 (14:32 +0200)]
Merge remote-tracking branch 'origin/stable' into dev
Change-Id: I2cba36426d8af40f94712f7f05f4e0dd4efce6e7
Tobias Hunger [Thu, 29 Aug 2013 12:05:45 +0000 (14:05 +0200)]
PulseaudioInput: Remove unused members
Clang warns about them.
Change-Id: I8fb2e9bc30f35ec9540b09a34bf23bf9eb671b9c
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
Tobias Hunger [Thu, 29 Aug 2013 11:55:43 +0000 (13:55 +0200)]
QGstXvImageBuffer: fix warning about class/struct mismatch
Change-Id: I98df1ce92fab69ad1200066d310aa8bd016b5aca
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
Tobias Hunger [Thu, 29 Aug 2013 11:58:08 +0000 (13:58 +0200)]
QGstTools: Fix warning about unused m_intervalTimer
Clang does complain about this member not being used.
Change-Id: I02919715be43486f4646ca75deea66fc8a6a2276
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
Bill Somerville [Sat, 24 Aug 2013 19:51:24 +0000 (20:51 +0100)]
Fix QAudioOutput::setVolume() limited 50% on 32-bit Windows
A signed 16 bit integer was being used to pack a normalised double into
half of a DWORD. It needed to be unsigned 16-bit to get the full range
of the Windows volume control.
Task-number: QTBUG-33160
Change-Id: Ic17f572a188401ee686c6e6af3984d52328ccda6
Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
Reviewed-by: Yoann Lopes <yoann.lopes@digia.com>
Bernd Weimer [Tue, 27 Aug 2013 08:39:31 +0000 (10:39 +0200)]
BlackBerry: Pass encoded URLs to mm renderer
MM renderer expects (remote) URLs to be percent encoded.
Change-Id: Ib7429cbeb3b7aa6baba99419d8b101a712ab4881
Reviewed-by: Rafael Roquetto <rafael.roquetto@kdab.com>
Reviewed-by: Thomas McGuire <thomas.mcguire@kdab.com>
Frederik Gladhorn [Tue, 27 Aug 2013 20:44:53 +0000 (22:44 +0200)]
Merge remote-tracking branch 'origin/stable' into dev
Change-Id: I469f258c4838f87edaedc8620d925a3c537d1619
Andy Nichols [Mon, 26 Aug 2013 13:54:52 +0000 (15:54 +0200)]
AVFoundation: Basic camera support for iOS
Enables basic software rendering support for iOS.
Change-Id: Icd29076ea627295819ede6d9680de576ba39b34e
Reviewed-by: Richard Moe Gustavsen <richard.gustavsen@digia.com>
Andy Nichols [Thu, 15 Aug 2013 14:31:34 +0000 (16:31 +0200)]
AVFoundation: Enable QVideoWidget on iOS
Change-Id: I88041e7a2ea052fe449542eeaada31c09d93d163
Reviewed-by: Richard Moe Gustavsen <richard.gustavsen@digia.com>
Andy Nichols [Thu, 15 Aug 2013 13:08:35 +0000 (15:08 +0200)]
AVFoundation: Use CoreAnimation to render video to QVideoWidget
Previously a QGLWidget was used as a target for the
AVFVideoFrameRenderer. This was uncessary as it is possible to render
directly on top of the QWidget using the CoreAnimation Framework.
Change-Id: I08923c85fd56c8874c1d8c187ae5145e220fab92
Reviewed-by: Richard Moe Gustavsen <richard.gustavsen@digia.com>
Andy Nichols [Wed, 14 Aug 2013 14:42:44 +0000 (16:42 +0200)]
AVFoundation: Enable use of QMediaPlayer for audio on iOS
This commit disables the video components of the AVFoundation
mediaplayer backend when building for iOS and enables the use of
QMediaPlayer with audio assets.
Change-Id: Iadd6f9c61ed1e656301326e90a22cbca6428b654
Reviewed-by: Richard Moe Gustavsen <richard.gustavsen@digia.com>
Andy Nichols [Thu, 4 Apr 2013 13:34:00 +0000 (15:34 +0200)]
AVFoundation: Remove QVideoSurfaceCoreGraphicsPainter
This was a leftover from Qt 4, as it is no longer possible to use the
CoreGraphics paint engine. Instead we should just use the logic in
QPainterVideoSurface render the QVideoFrame.
Change-Id: I7e97fe7c30fd478dcd405d300e0c3f70050ca25f
Reviewed-by: Christian Stromme <christian.stromme@digia.com>
Yoann Lopes [Fri, 16 Aug 2013 15:51:53 +0000 (17:51 +0200)]
WMF and GStreamer: fixed incorrect frame startTime and endTime.
The QVideoFrame documentation explicitly says that the time is in
microseconds, however the GStreamer backend was setting the time in
milliseconds and the WMF backend in 100-nanosecond units.
With WMF, the time was missing from the QVideoFrame when presenting it to
the video surface.
Task-number: QTBUG-31731
Change-Id: I0638d2abf8eed25b3a531db67c19a18703e5b630
Reviewed-by: Andy Nichols <andy.nichols@digia.com>
Christian Strømme [Fri, 16 Aug 2013 15:50:10 +0000 (17:50 +0200)]
Android: Use isValid() to check if the jobject is valid.
Change-Id: I5ec67b9b2abfae2e2c2a44f0bcc7c72cb54beb49
Reviewed-by: Yoann Lopes <yoann.lopes@digia.com>
Yoann Lopes [Mon, 29 Jul 2013 14:28:15 +0000 (16:28 +0200)]
Android: fixed media player buffering logic.
When the media is ready, the status should always transition to
LoadedMedia and then immediately to BufferingMedia or BufferedMedia.
Also, when the duration is queried before the media is ready but already
buffering, it should always return 0 to avoid errors from the Android
media player.
Task-number: QTBUG-32635
Change-Id: Ibcb9c23b4f64c4f9a1a8e0ef81989ae78cfb19ef
Reviewed-by: Christian Stromme <christian.stromme@digia.com>
Friedemann Kleint [Wed, 31 Jul 2013 09:15:25 +0000 (11:15 +0200)]
Fix file browser in qmlvideofx example.
Similar to
de9092389f2e43370c2cfcd6759d08cc11da9a68 for qmlvideo.
Use QUrl::fromLocalFile() to get Windows drive handling
right. Emulate its behavior in QML code. Fix up() to terminate
correctly.
Task-number: QTBUG-32139
Change-Id: I36bafaa608ff054190dc76694f6254a74f3b513e
Reviewed-by: Yoann Lopes <yoann.lopes@digia.com>
Simon Hausmann [Tue, 13 Aug 2013 08:02:18 +0000 (10:02 +0200)]
Remove unnecessary dependency to qtjsbackend from sync.profile
Change-Id: Ie72932d3a9ba1bfa2f282e8134b50b2d6b8ec469
Reviewed-by: Sergio Ahumada <sergio.ahumada@digia.com>
Sergio Ahumada [Fri, 16 Aug 2013 18:53:47 +0000 (20:53 +0200)]
Merge remote-tracking branch 'origin/release' into stable
Change-Id: Ibcde5cfcb97948f9e3f71a2d6b06397e1003aa3b
Yoann Lopes [Fri, 16 Aug 2013 16:13:56 +0000 (18:13 +0200)]
Add changes-5.1.1 file.
Task-number: QTBUG-32808
Change-Id: I998548df399ec6d2dd6b061b5ba2c1ca451276bc
Reviewed-by: Sergio Ahumada <sergio.ahumada@digia.com>
Yoann Lopes [Tue, 30 Jul 2013 12:24:48 +0000 (14:24 +0200)]
WMF: fixed QMediaPlayer changing to EndOfMedia status too early.
It was changing to EndOfMedia status and explicitly stopping playback
when receiving the MEEndOfPresentation event from the WMF session.
However, this event means that all data has bean read from the source but
not necessarily played yet. According to the documentation, playback is
done when the MESessionEnded event is sent. It now reports the EndOfMedia
status at that moment instead. stop() is not explicitly called anymore since
MESessionEnded also implies the session has stopped.
Task-number: QTBUG-30825
Change-Id: I6c6c09e736fe33f7cf17c75038ea7be1b5701a1c
Reviewed-by: Christian Stromme <christian.stromme@digia.com>
Yoann Lopes [Wed, 31 Jul 2013 10:52:17 +0000 (12:52 +0200)]
WMF: use qFabs instead of fabsf.
Task-number: QTBUG-32360
Change-Id: Ibec3d044ac38f54abd895d56f1851011bf6b5272
Reviewed-by: Christian Stromme <christian.stromme@digia.com>
Frederik Gladhorn [Tue, 13 Aug 2013 19:00:22 +0000 (21:00 +0200)]
Merge "Merge remote-tracking branch 'origin/stable' into dev" into refs/staging/dev
Andy Nichols [Tue, 13 Aug 2013 13:16:54 +0000 (15:16 +0200)]
Enable QSoundEffect with loopCount of Infinite to play
Previously if the loopCount property of a QSoundEffect was set to
QSoundEffect::Infinite then no sound would be played at all. This is
because QSoundEffect::Infinite == -2 and playback was only continued on
values above 0.
Task-number: QTBUG-32882
Change-Id: I739919a3e538128fc16f26ede5eb6cc4f2eb29fb
Reviewed-by: Christian Stromme <christian.stromme@digia.com>
Jerome Pasion [Thu, 8 Aug 2013 14:47:13 +0000 (16:47 +0200)]
Doc: Renamed HTML file for "Qt Multimedia on Windows" page.
Conflicts with the platform page for Windows in qt5/doc
Task-number: QTBUG-32580
Change-Id: Ibcf51c5dcd93ac388fa799644004c51aa88fe93d
Reviewed-by: Martin Smith <martin.smith@digia.com>
Frederik Gladhorn [Mon, 12 Aug 2013 10:47:02 +0000 (12:47 +0200)]
Merge remote-tracking branch 'origin/stable' into dev
Conflicts:
src/plugins/plugins.pro
Change-Id: Ieec8b5984b0fba97872bf96c38410369dc0e20cf
Robin Burchell [Fri, 2 Aug 2013 22:27:40 +0000 (00:27 +0200)]
Implement resource policy plugin using libresourceqt.
This contains a new resource policy plugin, replacing the built-in
code that was deleted when the plugin interface was removed in
138242fb2dc19438a0ead34b36af848800e27190 (which unfortunately did not provide a
plugin).
Change-Id: Iae7ed6edc330c69ca0c72d50bde6c7e12b8cca4e
Reviewed-by: Andy Nichols <andy.nichols@digia.com>
Yoann Lopes [Wed, 24 Jul 2013 11:01:08 +0000 (13:01 +0200)]
Fixed bug in QWaveDecoder.
When looking for a specific chunk, it was entering an infinite loop if not
finding it in the next two chunks available. It now correctly tries to
find the chunk until it reaches the end of the IO device.
Change-Id: I29252318566fe3a47f267410c91dacaf302d9618
Reviewed-by: Andy Nichols <andy.nichols@digia.com>
Robin Burchell [Fri, 2 Aug 2013 22:37:43 +0000 (00:37 +0200)]
Change libresourceqt's .pc file.
The one public port of this library to Qt 5 changed the .pc to libresourceqt5,
to avoid clashing with the Qt 4 version.
Change-Id: I6a248606e20c4e7a8f432612ca00aded846264d9
Reviewed-by: Andy Nichols <andy.nichols@digia.com>
Sergio Ahumada [Mon, 5 Aug 2013 08:38:25 +0000 (10:38 +0200)]
Merge branch 'stable' into dev
Conflicts:
.qmake.conf
Change-Id: Id3427cb1a80956ba61373313c21b4b9aa007ea54
Jerome Pasion [Thu, 1 Aug 2013 14:22:38 +0000 (16:22 +0200)]
Doc: Setting \qtvariable values in module pages.
\qtvariable is the QT variable in .pro files.
Change-Id: Ib2e78579bbc67346b6c3431d03e01a4858439ac4
Reviewed-by: Martin Smith <martin.smith@digia.com>
Friedemann Kleint [Wed, 31 Jul 2013 09:19:11 +0000 (11:19 +0200)]
Remove left-over debug output.
Task-number: QTBUG-32139
Change-Id: I52843ca104e422fb02112949191dbcd4642905a5
Reviewed-by: Yoann Lopes <yoann.lopes@digia.com>
Friedemann Kleint [Fri, 26 Jul 2013 12:18:16 +0000 (14:18 +0200)]
Fix file browser in qmlvideo example.
Use QUrl::fromLocalFile() to get Windows drive handling
right. Emulate its behavior in QML code. Fix up() to terminate
correctly.
Task-number: QTBUG-32139
Change-Id: Iec6d9f96fbe2181c939e9dbbe6aa042eac630918
Reviewed-by: Shawn Rutledge <shawn.rutledge@digia.com>
Oswald Buddenhagen [Mon, 29 Jul 2013 16:43:21 +0000 (18:43 +0200)]
fix build without quick
(gui && qml) is not a sufficient condition for the availability of
quick (e.g., missing opengl support can disable it).
Task-number: QTBUG-32682
Change-Id: I3b7fb005528cc99239f59d34c7f70abeebcfa75c
Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
Yoann Lopes [Thu, 25 Jul 2013 13:43:41 +0000 (15:43 +0200)]
Make PulseAudio implementation of QSoundEffect more robust.
It was crashing when the PulseAudio daemon was not running or was
killed.
When the connection to the daemon fails (or is terminated), it now
tries to reconnect every 30 seconds.
Sounds created before a connection loss will be recreated after
reconnection.
Task-number: QTBUG-32487
Change-Id: Ia63707aa5c70434b834b3079a9950a9b35057b26
Reviewed-by: Shawn Rutledge <shawn.rutledge@digia.com>
Wouter Huysentruit [Tue, 23 Jul 2013 08:14:27 +0000 (10:14 +0200)]
Use the new (-no)-wmf-backend configuration option
Don't build the wmf backend when configure was executed
with the -no-wmf-backend option.
Change-Id: Ia047137c15c7aac302092e9f77b961c6e584bb86
Reviewed-by: Yoann Lopes <yoann.lopes@digia.com>
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
Yoann Lopes [Fri, 19 Jul 2013 10:47:55 +0000 (12:47 +0200)]
Moved declarative-camera example in the right directory.
This example was in the multimediawidgets directory but doesn't depend on
or use the QtMultimediaWidgets module. Moved to 'examples/multimedia'
instead.
Change-Id: Ic2fcc6576e95664e0002531ee378a4366daa56c1
Reviewed-by: Jerome Pasion <jerome.pasion@digia.com>
Sergio Ahumada [Tue, 23 Jul 2013 10:03:07 +0000 (12:03 +0200)]
Bump MODULE_VERSION to 5.1.2
Change-Id: I1cfa9beb95b322c0d28b7240692358a02c442f77
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
Frederik Gladhorn [Tue, 23 Jul 2013 09:14:35 +0000 (11:14 +0200)]
Merge remote-tracking branch 'origin/stable' into dev
Change-Id: If52332b72560d21069e24cd31b13f08f33e1f406
Yoann Lopes [Fri, 19 Jul 2013 12:36:06 +0000 (14:36 +0200)]
DirectShow: avoid unnecessary RGB32 -> BGR32 conversion.
Frames in the RGB32 format are actually using the BGR byte order, no need
to do the conversion.
Task-number: QTBUG-29206
Change-Id: I13527bd9dacc8330df78beb0965b31469c1d7a87
Reviewed-by: Yoann Lopes <yoann.lopes@digia.com>
Yoann Lopes [Fri, 19 Jul 2013 10:29:12 +0000 (12:29 +0200)]
DirectShow: Don't create the widget and renderer controls until requested.
Task-number: QTBUG-32282
Change-Id: If37ed4c35bcc2cc879f50d3b2ea3720b90603e9a
Reviewed-by: Yoann Lopes <yoann.lopes@digia.com>
Yoann Lopes [Fri, 12 Jul 2013 10:30:39 +0000 (12:30 +0200)]
WMF: fixed MediaPlayer buffering logic.
To have a consistent behavior with other backends, the WMF plugin now
starts the session after loading a media in order to start buffering some
data and correctly notify when the media is buffered.
It was previously reporting a BufferedMedia status only (and wrongly)
after explicitly starting the media player.
Not all source readers (usually a source reader is specific to a file
format) implement the service needed to query buffering progress. In that
case just report the media to be buffered immediately after loading.
Change-Id: I6e6332ae08e96fc789556761e5169b88c36c5e37
Reviewed-by: Christian Stromme <christian.stromme@digia.com>
Yoann Lopes [Thu, 28 Feb 2013 17:05:57 +0000 (18:05 +0100)]
OpenSL ES audio plugin.
Adds support for QAudioOutput, QAudioInput and QAudioDeviceInfo using
OpenSL ES 1.0.1. This plugin is used on Android.
Change-Id: Idf2c22a861e067196f6c5139e51393b086f64183
Reviewed-by: Christian Stromme <christian.stromme@digia.com>
Frederik Gladhorn [Thu, 11 Jul 2013 21:26:39 +0000 (23:26 +0200)]
Merge remote-tracking branch 'origin/stable' into dev
Change-Id: Ia2cf3c55e57d7ac17f02965915fa6933ff2c8cce
Yoann Lopes [Fri, 5 Jul 2013 14:39:25 +0000 (16:39 +0200)]
Android: removed unnecessary init class for QtMultimedia.jar
Change-Id: Ib13597389a3896da8b619993d197623e7c74a7e0
Reviewed-by: Christian Stromme <christian.stromme@digia.com>
Christian Strømme [Wed, 29 May 2013 00:06:16 +0000 (02:06 +0200)]
Android: Make it possible for MediaPlayer to read from assets.
The Android MediaPlayer doesn't handle assets automatically, so we need to
open it and pass it in as a file descriptor.
Task-number: QTBUG-31422
Change-Id: Ic29c0ab6348d760cf21aa89ae423d41e15523976
Reviewed-by: Yoann Lopes <yoann.lopes@digia.com>
Yoann Lopes [Fri, 5 Jul 2013 14:26:55 +0000 (16:26 +0200)]
Android: wait to have a valid video surface before loading a media.
Setting the video surface on the Android media player after it has
loaded the media doesn't work on some hardware.
Change-Id: I5e621a34ace9de458bfc65bfac8fa50c29cee9a5
Reviewed-by: Christian Stromme <christian.stromme@digia.com>
Yoann Lopes [Thu, 23 May 2013 13:15:44 +0000 (15:15 +0200)]
Android: release the Android media player before destroying it.
Change-Id: I18715efd7ff346a9f6f2214727ec66ee79ad0d33
Reviewed-by: Christian Stromme <christian.stromme@digia.com>
tommyadam [Wed, 3 Jul 2013 08:22:50 +0000 (10:22 +0200)]
Fix resource leak in directshow plugin.
Add two missing release calls to free file handles.
Task-number: QTBUG-23822
Change-Id: I8f5b6d0dcf9ad66bdaa2f378c0d3e401388d7add
Reviewed-by: Wouter Huysentruit <wouter.huysentruit@dzine.be>
Reviewed-by: Yoann Lopes <yoann.lopes@digia.com>
Frederik Gladhorn [Thu, 27 Jun 2013 11:00:02 +0000 (13:00 +0200)]
Merge remote-tracking branch 'origin/stable' into dev
Change-Id: I48a140d1bbe82ab65e54683d77aea8c97c06ec80
Jerome Pasion [Wed, 26 Jun 2013 08:24:38 +0000 (10:24 +0200)]
Doc: Setting navigation variables for Multimedia and Multimedia Widgets
-for navigation bar
Change-Id: I2d60e0145952c99afb6b103d0188ce846c192634
Reviewed-by: Yoann Lopes <yoann.lopes@digia.com>
Reviewed-by: Martin Smith <martin.smith@digia.com>
Frederik Gladhorn [Tue, 25 Jun 2013 21:27:28 +0000 (23:27 +0200)]
Merge remote-tracking branch 'origin/release' into stable
Change-Id: I9ad818eecef74983e09660871f39ee66a6b666a1
Yoann Lopes [Tue, 25 Jun 2013 11:20:55 +0000 (13:20 +0200)]
Use correct default audio output and input devices on Windows.
It was returning the first available device as the default, which might
not be the actual default device. Use the WAVE_MAPPER device ID instead
that tells Windows to use the most appropriate device.
Change-Id: Id1e9324e889bbaaab54bc0e0da810a7ce5fcb592
Reviewed-by: Andy Nichols <andy.nichols@digia.com>
Sergio Ahumada [Wed, 19 Jun 2013 08:54:25 +0000 (10:54 +0200)]
Add changes-5.1.0 file
Change-Id: I01369d608876e69da57839165283ed343b683e88
Reviewed-by: Iikka Eklund <iikka.eklund@digia.com>
Reviewed-by: Yoann Lopes <yoann.lopes@digia.com>
Yoann Lopes [Thu, 20 Jun 2013 15:40:11 +0000 (17:40 +0200)]
Multimedia plugins now have a unique JSON metadata 'Keys' property.
They previously had the multimedia services they provided as keys. This
was a problem when several plugins were available on the same platform,
providing the same multimedia service, but with different features or
capabilities. Since they had the same key, only the first plugin in the
directory was loaded.
Nevertheless, it was actually working until commit
732dcfe7 in qtbase,
as all plugins were loaded even when sharing the same key.
The services a multimedia plugin provides are now declared in the
'Services' property. To preserve compatibility with third-party plugins,
if that new property doesn't exist it falls back to the 'Keys' property.
Task-number: QTBUG-31868
Task-number: QTBUG-31476
Change-Id: Ic3ba32eeef21b69b922bd3d4feb111101559d132
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
Reviewed-by: Lars Knoll <lars.knoll@digia.com>
Frederik Gladhorn [Thu, 20 Jun 2013 14:29:21 +0000 (16:29 +0200)]
Merge remote-tracking branch 'origin/stable' into dev
Change-Id: Iaadfcd68fec91611b6341860e41a70b9023719de
Frederik Gladhorn [Thu, 20 Jun 2013 14:23:34 +0000 (16:23 +0200)]
Merge remote-tracking branch 'origin/release' into stable
Change-Id: I0361cbb4f5398bb13e675c3de04519c414daea43
Christian Strømme [Thu, 13 Jun 2013 13:42:12 +0000 (15:42 +0200)]
Android: Fix for uncaught java exception.
If an exception's getMessage() function returns a null object, we can't
send it directly to the Log function, as it will throw an exception...
To avoid this we can prepend the string from getMessage() with an empty
string.
Change-Id: Ie026cbf9af133352919a4536c152b6d35cb8c0a7
Reviewed-by: Paul Olav Tvete <paul.tvete@digia.com>
Reviewed-by: Yoann Lopes <yoann.lopes@digia.com>
Sze Howe Koh [Sun, 26 May 2013 22:38:02 +0000 (06:38 +0800)]
Doc: Fix some broken links and quote paths
The correct paths are relative to:
- <reporoot>/examples/<module>, or
- <reporoot>/src/<module>
Removing the module specifier fixes these links/quotes.
Change-Id: I6be4f28c44bd26361b60a394158b0e6cc46b1ec0
Reviewed-by: Laszlo Papp <lpapp@kde.org>
Reviewed-by: Yoann Lopes <yoann.lopes@digia.com>
Reviewed-by: Jerome Pasion <jerome.pasion@digia.com>
Christian Strømme [Wed, 12 Jun 2013 15:49:08 +0000 (17:49 +0200)]
Fix for url bug in the qmlvideo examples.
In the FileBrowser paths where being prepended with file:///, since all
the paths already starts with a forward slash, navigating away from the
initial directory was therefore not possible.
To make the examples work on Android, QT += multimedia was added.
Change-Id: Iff96729d476c4292999b022bdd6d5770b6b011e7
Reviewed-by: Paul Olav Tvete <paul.tvete@digia.com>
Reviewed-by: Andy Nichols <andy.nichols@digia.com>
Frederik Gladhorn [Wed, 12 Jun 2013 12:45:09 +0000 (14:45 +0200)]
Merge remote-tracking branch 'origin/release' into stable
Change-Id: Ic82ed2ba60d9855f1490d4ca66451dbc42ae6e2f
Bernd Weimer [Mon, 27 May 2013 10:58:59 +0000 (12:58 +0200)]
Purged ALSA implementation
Avoided potential memory leak and null pointer access, removed unused
variables, reduced redundant code, etc.
Change-Id: Ia0ddf56a7a1a0f142f2edb070c2c0b32cbf76ce7
Reviewed-by: Andy Nichols <andy.nichols@digia.com>
Tasuku Suzuki [Tue, 8 Jan 2013 13:16:24 +0000 (22:16 +0900)]
disable module when gui is not available
Change-Id: I414b67d8c4fe34a41e1d96d51879138c01c6e3a5
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
Tobias Koenig [Tue, 4 Jun 2013 14:09:32 +0000 (16:09 +0200)]
BlackBerry: Fix frame size of video playback
Adapt the frame size dynamically, since mmrenderer resizes
the source viewport of the native video window at runtime on
some hardware platforms.
Task-number: QTBUG-31534
Change-Id: Ie637d7a80697175dacb454535fbe251b2c7a6809
Reviewed-by: Thomas McGuire <thomas.mcguire@kdab.com>
Frederik Gladhorn [Tue, 4 Jun 2013 17:50:11 +0000 (19:50 +0200)]
Merge remote-tracking branch 'origin/stable' into dev
Conflicts:
.qmake.conf
sync.profile
Change-Id: I62a3095e4a4d507de199fac32b64e9e76323bbf4
Topi Reinio [Fri, 31 May 2013 14:02:06 +0000 (16:02 +0200)]
Doc: Add Qt Multimedia platform notes for Windows
Add a page with details about Qt Multimedia backends on Windows, and
link to it from the module index page.
Initially, cover the status of camera backend in WMF and DirectShow
plugins.
Task-number: QTBUG-29552
Change-Id: I53e5901e2d621c4bbc96a61d5dbb249b4debb8d4
Reviewed-by: Yoann Lopes <yoann.lopes@digia.com>
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
Jerome Pasion [Thu, 30 May 2013 13:43:19 +0000 (15:43 +0200)]
Doc: Adding import statement for in Qt Multimedia QML Types
Change-Id: I17e108c5d8524fe428ab8f0ca14130cd4bb78d2d
Reviewed-by: Liang Qi <liang.qi@digia.com>
Reviewed-by: Venugopal Shivashankar <venugopal.shivashankar@digia.com>
Reviewed-by: Martin Smith <martin.smith@digia.com>
Mitch Curtis [Fri, 31 May 2013 08:32:39 +0000 (10:32 +0200)]
Fix typo in QMediaPlayer docs.
Change-Id: I0b9110488a2d116cea73abe30f80fc1f487029aa
Reviewed-by: Jerome Pasion <jerome.pasion@digia.com>
Sergio Ahumada [Tue, 28 May 2013 18:24:04 +0000 (20:24 +0200)]
Bump MODULE_VERSION to 5.1.1
Change-Id: Id8ce3bd0f245e25930506cdaf8d9a7a23bed2cc1
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
Eskil Abrahamsen Blomfeldt [Tue, 28 May 2013 07:57:08 +0000 (09:57 +0200)]
Android: Fix compilation on Windows
The qtCompileTest function in configure.prf does not work when
cross-compiling on Windows because it detects the wrong make executable.
And it's anyway not the best way to do this, since what we really want
to check for is the existence of the SDK version, whereas the compile
test could potentially hide a lot of other problems under the same
error message.
Task-number: QTBUG-31405
Change-Id: I2c16b214e40bac5751d4e7098edcc30318756621
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
Reviewed-by: Paul Olav Tvete <paul.tvete@digia.com>
Reviewed-by: Christian Stromme <christian.stromme@digia.com>
Liang Qi [Mon, 27 May 2013 12:05:36 +0000 (14:05 +0200)]
Update all plugins.qmltypes files
Task-number: QTBUG-31388
Change-Id: Ia65490a262417f98fe69a89637ec2f9e7c0d0095
Reviewed-by: Shawn Rutledge <shawn.rutledge@digia.com>
Reviewed-by: Yoann Lopes <yoann.lopes@digia.com>
Friedemann Kleint [Fri, 24 May 2013 07:15:53 +0000 (09:15 +0200)]
WMF-plugin: Fix warnings about unused variables.
Change-Id: I2b7864463799b23418fc4c3099d73a63709fe8c5
Reviewed-by: Yoann Lopes <yoann.lopes@digia.com>
Liang Qi [Mon, 27 May 2013 12:05:05 +0000 (14:05 +0200)]
Update qmldir file for QtAudioEngine
Change-Id: I2fe64c72520a7b2b6b1d79bbddfdeb7d0bf4f977
Reviewed-by: Yoann Lopes <yoann.lopes@digia.com>
Sergio Ahumada [Fri, 24 May 2013 20:21:15 +0000 (22:21 +0200)]
sync.profile: Point dependencies to an empty string
This means that we are going to use the same branch name for the
dependencies as the branch of the repository under test.
If we are testing the 'stable' branch, all dependencies will point
to the 'stable' branch as well.
Change-Id: I8f899a9a9fb9e94b99a9250eb5eb2dbe2eed8fc5
Reviewed-by: Iikka Eklund <iikka.eklund@digia.com>
Jerome Pasion [Fri, 24 May 2013 08:45:52 +0000 (10:45 +0200)]
Doc: Removed multimedia overview from "technology-apis" group.
The group in qtdoc was removed.
Change-Id: Ifa8b67421f4eb7b117ee947b186c85bfdd5a8c5d
Reviewed-by: Geir Vattekar <geir.vattekar@digia.com>
Frederik Gladhorn [Thu, 23 May 2013 11:15:45 +0000 (13:15 +0200)]
Merge remote-tracking branch 'origin/stable' into dev
Change-Id: I24ffb71c4cc2e262394797deb8a22b2cf9a80c3c
Christian Strømme [Tue, 14 May 2013 08:14:39 +0000 (10:14 +0200)]
Android: add libQt5MultimediaQuick_p to the list of dependencies.
libQt5MultimediaQuick_p is first loaded as a result of a qml import, and
is therefore not detected as a dependency.
Note that libQt5MultimediaQuick_p will only be added as a dependency if
QtQuick is used.
Task-number: QTBUG-30861
Change-Id: I8ce818ef1648302bbbbdf63ef133185a66b66cca
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@digia.com>
Yoann Lopes [Tue, 21 May 2013 14:09:33 +0000 (16:09 +0200)]
Android: fixed crash when resetting the video surface.
Change-Id: I64a28cbcb8a48d13a9e1c98005da9f4cce821cb4
Reviewed-by: Christian Stromme <christian.stromme@digia.com>
Yoann Lopes [Thu, 16 May 2013 17:03:50 +0000 (19:03 +0200)]
Fixed signal not being emitted in QDeclarativeCameraFocus.
Change-Id: If504ec5ecc59c46edeac24442181eedaacc7e5d8
Reviewed-by: Christian Stromme <christian.stromme@digia.com>
Friedemann Kleint [Wed, 8 May 2013 09:34:31 +0000 (11:34 +0200)]
Make directshow-plugin available.
No longer include <qedit.h> in directshow-plugin,
which no longer ships in newer SDKs.
Ensure it only provides the camera service if the
WMF-plugin is built by using a different .json-file.
Adapt qcamerabackend-test to use widgets.
Task-number: QTBUG-28047
Change-Id: I22ea441b9edb56ff55bc275dba37c01c77d8dd90
Reviewed-by: Yoann Lopes <yoann.lopes@digia.com>
Sze Howe Koh [Sun, 28 Apr 2013 07:01:25 +0000 (15:01 +0800)]
Decouple qmediametadata.h from qmultimedia.h
qmultimedia.h is included in more places, but qmediametadata.h is
larger. This patch should reduce unnecessary #include-ing.
Change-Id: I4a3d174bafc555d794bb75087c1f6b79745ae903
Reviewed-by: Yoann Lopes <yoann.lopes@digia.com>
David Fries [Tue, 2 Apr 2013 04:00:00 +0000 (23:00 -0500)]
qmlvideo example, add missing #ifdef PERFORMANCEMONITOR_SUPPORT
This usage of PerformanceMonitor needs to be protected by the same
preprocessor check as the header include that makes it available.
Change-Id: Ie8a1b6e99a61c333ceedcf2e9751235fc2efb415
Reviewed-by: Martin Smith <martin.smith@digia.com>
Thomas McGuire [Thu, 25 Apr 2013 14:06:08 +0000 (16:06 +0200)]
VideoOutput: Take the surface's viewport into account
Task-Number: QTBUG-30410
Change-Id: I480ce0bcd7ec136e54b5bfc5fec0e901141b72d8
Reviewed-by: Josh Faust <jfaust@suitabletech.com>
Reviewed-by: Yoann Lopes <yoann.lopes@digia.com>
Masaya TAKAHASHI [Wed, 1 May 2013 05:18:48 +0000 (14:18 +0900)]
Doc: Fix missing element name in Video
Change-Id: I2237bf4a1da632f0528cfb9e6b32ea88f3930350
Reviewed-by: Jerome Pasion <jerome.pasion@digia.com>
Reviewed-by: Yoann Lopes <yoann.lopes@digia.com>