diff options
author | Tarja Sundqvist <tarja.sundqvist@qt.io> | 2023-03-23 16:00:16 +0200 |
---|---|---|
committer | Tarja Sundqvist <tarja.sundqvist@qt.io> | 2023-03-23 16:00:16 +0200 |
commit | 9dbea27ea43206c2d210e4b4cc48af169ada3847 (patch) | |
tree | 920bb496afe167f4e9b4f784d74e8c45a3bebc93 /src | |
parent | f03440793e1638687d0754b82d206817dc3775e7 (diff) | |
parent | 01d5059a5060283eb20e1a5afbebab790e8a0cf1 (diff) | |
download | qtmultimedia-5.15.tar.gz |
Merge remote-tracking branch 'origin/tqtc/lts-5.15.9' into tqtc/lts-5.15-opensourcev5.15.9-lts-lgpl5.15
Change-Id: I130d0256d152d5c8bf44db8f5218100d6ea898f0
Diffstat (limited to 'src')
-rw-r--r-- | src/gsttools/qgstreamerplayersession.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gsttools/qgstreamerplayersession.cpp b/src/gsttools/qgstreamerplayersession.cpp index adf11b022..d36f73b2a 100644 --- a/src/gsttools/qgstreamerplayersession.cpp +++ b/src/gsttools/qgstreamerplayersession.cpp @@ -1587,7 +1587,7 @@ void QGstreamerPlayerSession::updateVideoResolutionTag() void QGstreamerPlayerSession::updateDuration() { gint64 gstDuration = 0; - int duration = 0; + qint64 duration = 0; if (m_pipeline && qt_gst_element_query_duration(m_pipeline, GST_FORMAT_TIME, &gstDuration)) duration = gstDuration / 1000000; |