summaryrefslogtreecommitdiffstats
path: root/src/multimedia/qmediametadata.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Merge QCameraImageProcessing into QCameraLars Knoll2021-05-181-1/+1
| | | | | | | | | | | At the same time remove the colorFilter property. Color filters are at most a post-processing effect and should not be part of QCamera itself. The support for the filters was in any case missing pretty much everywhere (except gst-photography, which is not supported by most cameras today). Change-Id: I59306cc75470b11490feeb910c26a414d796f9f1 Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
* Merge QCameraExposure into QCameraLars Knoll2021-05-181-2/+2
| | | | | | | As per API review, let's only have one class for QCamera. Change-Id: I663e238e93ffd83708821e46f8f154c1fdc07731 Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
* Doc improvementsLars Knoll2021-05-181-46/+32
| | | | | | | | | | | | | | | | | | | Try to add at least a short class overview to every C++ class and document most properties there. Some API cleanups in QMediaRecorder. Some rough cleanups in the overview documentation, removing mentions of features and APIs that do not exist anymore and adjust the ones that have changed. Updated the changes.qdoc file to now reflect the changes from Qt 5 to Qt 6, not from Qt 4 to Qt 5 anymore. Change-Id: I42f4994d3af4d35ab5e51afe351afa653964bea8 Reviewed-by: Doris Verria <doris.verria@qt.io> Reviewed-by: Lars Knoll <lars.knoll@qt.io>
* Inline trivial gettersVolker Hilsheimer2021-05-071-8/+6
| | | | | Change-Id: I6d1660b33f1bcb1b2056c8216e6851ba93f92ed6 Reviewed-by: Lars Knoll <lars.knoll@qt.io>
* Fix compilation errorsShawn Rutledge2021-04-061-1/+3
| | | | | | | | | | - unused arguments - comparison always true - functions with undefined return values - missing includes Change-Id: I6caa92de2c08ed597c42290dba1f22ec709ea6ca Reviewed-by: Lars Knoll <lars.knoll@qt.io>
* Some fixes to meta data handlingLars Knoll2021-03-191-4/+0
| | | | | | | | | | | Remove the year property, Date is much more useful and complete (plus it's supported everywhere). Fix some bugs in the gstreamer implementation. Change-Id: Ib2be80e73bc432e7dfa20e33da782017194db5dd Reviewed-by: Doris Verria <doris.verria@qt.io> Reviewed-by: Lars Knoll <lars.knoll@qt.io>
* Some cleanups in QVideoSurfaceFormatLars Knoll2021-03-161-1/+0
| | | | | | | | | | | Remove the pixel aspect ratio property. It's almost always 1/1 or something very close to it. Remove the pseudo property API. If we need to bind this to QML as a value type there are better ways to do it. Change-Id: I02f2170b0f1672529e298593a668eb418caed964 Reviewed-by: Lars Knoll <lars.knoll@qt.io>
* Implement basic metadata support for QMediaPlayerLars Knoll2021-03-021-2/+61
| | | | | | | | | | | | Unfortunately, GstDiscover has a crappy API that doesn't allow us to retrieve the data from a running decoder session (we'd be forced to create a separate decoder session just to get the data). So let's do things more manually and parse the topology data from decodebin ourselves. Change-Id: I0aca195265763f838d21df6814d4edfb3aace2d2 Reviewed-by: Doris Verria <doris.verria@qt.io> Reviewed-by: Lars Knoll <lars.knoll@qt.io>
* Show metadata for audio/video files in player exampleDoris Verria2021-03-021-0/+61
| | | | | Change-Id: I10748df06e9866c3121015c657b579aa27ac4450 Reviewed-by: Lars Knoll <lars.knoll@qt.io>
* Rework the metadata handlingLars Knoll2021-02-121-134/+20
| | | | | | | | | | | Get rid of metadata reader and writer controls. Instead use a simple cross platform value class to store meta data. The backend can then convert to and from whatever the native API expects. Change-Id: I7cf84bfbe8eef2a88615a52ba5afeec50a0652c8 Reviewed-by: Doris Verria <doris.verria@qt.io> Reviewed-by: Lars Knoll <lars.knoll@qt.io>
* Kill QCameraExposure::MeteringModeLars Knoll2021-01-211-2/+0
| | | | | | | | This was not implemented in any of our plugins. Change-Id: I3118d56016d6b77e45a2ed911a630ca70ff1da3d Reviewed-by: Lars Knoll <lars.knoll@qt.io> Reviewed-by: Doris Verria <doris.verria@qt.io>
* GStreamer: support video orientationAlexander Volkov2019-02-011-2/+2
| | | | | Change-Id: I233c45824f517c185cb245d8a7d77cab8551fc51 Reviewed-by: VaL Doroshchuk <valentyn.doroshchuk@qt.io>
* Fix license of .cpp files to LGPLKai Koehne2017-10-181-13/+25
| | | | | Change-Id: I389c8eae55f6bded71978f3d275db419b9d32a2e Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io>
* Doc: Add a \brief for the QMediaMetaData namespaceLeena Miettinen2016-10-071-1/+1
| | | | | | | ...to display the docs for it properly in tables. Change-Id: Ib719d2ef7278f44a25f9101e1629e558901bba5d Reviewed-by: Venugopal Shivashankar <Venugopal.Shivashankar@qt.io>
* Doc: Move all doc artifacts under one projectVenugopal Shivashankar2015-12-071-0/+1
| | | | | | | | | Although the Qt Multimedia module has two submodules, a single project is sufficient to document these submodules, avoiding unnecessary maintenance overhead. Change-Id: I8fab48241b5c9aba35890a8aaa28ce7154f78c45 Reviewed-by: Topi Reiniƶ <topi.reinio@theqtcompany.com>
* Update copyright headersAntti Kokko2015-02-121-6/+6
| | | | | | | | | Qt copyrights are now in The Qt Company, so we could update the source code headers accordingly. In the same go we should also fix the links to point to qt.io. Change-Id: I1c6faa4f59f8eca54f01ef20941fa60161dd7872 Reviewed-by: Yoann Lopes <yoann.lopes@theqtcompany.com>
* Update copyright year in Digia's license headersSergio Ahumada2013-01-101-1/+1
| | | | | | Change-Id: Ia8c1c38aba1544603fada8c414cc856f365fd15b Reviewed-by: Akseli Salovaara <akseli.salovaara@digia.com> Reviewed-by: Sergio Ahumada <sergio.ahumada@digia.com>
* Doc: Put QMediaMetaData in the Qt Multimedia modulev5.0.0-beta2Sze Howe Koh2012-11-081-0/+2
| | | | | | | This should have been done in 13fd00199a6a41af2bdbb876fe33c75547e3d996 Change-Id: I3ce6e3ccde5f29cce3c24ee539dee6fcdff7b653 Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@digia.com>
* Enable the "#include <QMediaMetaData>" camel-case headerSze Howe Koh2012-11-061-0/+337
Move the QMediaMetaData namespace into new files, and have sync.profile generate the camel-case header during compilation. For now, the new header (qmediametadata.h) is included whereever the old one appears (qtmedianamespace.h), but an audit will be done later to make explicit #includes only where necessary. NOTE: Git may think that a rename has occurred. Part of the Header Consistency Project (http://lists.qt-project.org/pipermail/development/2012-October/007570.html) Change-Id: I63705722a5e175628d56128888a94ae4c20879f2 Reviewed-by: Lars Knoll <lars.knoll@digia.com> Reviewed-by: Stephen Kelly <stephen.kelly@kdab.com>