Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. setPosition() for QMediaPlayer has no effect on small intervals.
Forum Update on Monday, May 27th 2025

setPosition() for QMediaPlayer has no effect on small intervals.

Scheduled Pinned Locked Moved General and Desktop
qmediaplayer
1 Posts 1 Posters 479 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • ealioneE Offline
    ealioneE Offline
    ealione
    wrote on last edited by ealione
    #1

    Every time I drag the slider I set the position for the mediaPlayer at the sliders' current value. These are some characteristic examples in milliseconds

    setting it at: 
    3280
    video is at: 
    4004
    setting it at: 
    3397
    video is at: 
    4004
    setting it at: 
    3514
    video is at: 
    4004
    setting it at: 
    3631
    video is at: 
    4004
    

    As you can see no matter how I move the slider the video remains where it is and ignores the setPosition() command. Only after I move the slider for a while the video will get updated to a new frame.

    The thing though is that it is missing quite some frames in the meantime and I want greater precision.

    Is there a way to achieve that?

    1 Reply Last reply
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved