diff options
Diffstat (limited to 'src/multimedia/video/qvideosink.cpp')
-rw-r--r-- | src/multimedia/video/qvideosink.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/multimedia/video/qvideosink.cpp b/src/multimedia/video/qvideosink.cpp index 78943c6e6..94a153564 100644 --- a/src/multimedia/video/qvideosink.cpp +++ b/src/multimedia/video/qvideosink.cpp @@ -158,6 +158,14 @@ QPlatformVideoSink *QVideoSink::platformVideoSink() const } /*! + Returns the current subtitle text. + */ +QString QVideoSink::subtitleText() const +{ + return d->videoSink->subtitleText(); +} + +/*! Returns the size of the video currently being played back. If no video is being played, this method returns an invalid size. */ |