May be can help me...
The method seek () doesn't work
I check:
bool bOk = mediaObject-> isSeekable ();
bool bOk = mediaObject-> isSeekable ();
To copy to clipboard, switch view to plain text mode
Returns false.
But widget SeekSlider Works and allows to change video position!
mediaObject = ui.vpPreview->mediaObject();
mediaObject->setTickInterval(20);
ui.seekSlider->setMediaObject(ui.vpPreview->mediaObject());
ui.seekSlider->show();
connect(mediaObject, SIGNAL(tick(qint64)), this, SLOT(state(qint64)));
mediaObject = ui.vpPreview->mediaObject();
mediaObject->setTickInterval(20);
ui.seekSlider->setMediaObject(ui.vpPreview->mediaObject());
ui.seekSlider->show();
connect(mediaObject, SIGNAL(tick(qint64)), this, SLOT(state(qint64)));
To copy to clipboard, switch view to plain text mode
Bookmarks