Comments (6)
Thanks for ideas.
Introduce 'SeekingState'
Seems SeekingState is sufficient.
But just a note: states was meant to be updated immediately, it is not async, so when you call play(), it is in PlayingState right after.
(the same as in Qt), but media status is LoadingMedia -> LoadedMedia.
Media statuses are async by default.
We would also use LoadingMedia -> LoadedMedia while seeking, or SeekingMedia -> LoadedMedia?
from qtavplayer.
hmmm... right, just checked QtAV too - it also has just 3 states. In this case adding SeekingMedia into MediaState seems like right approach.
from qtavplayer.
also, we can also create signals like
started()
stopped()
paused()
seeked(pos)
had this idea, but decided to keep stateChanged(state) instead
from qtavplayer.
sure, it would make API less confusing for newcomers. As for me - I'm happy with listening for stateChanged / mediaStatusChanged (for seek)
from qtavplayer.
added this #38
from qtavplayer.
from qtavplayer.
Related Issues (20)
- Using hardware decoding in videotoolbox_vld FFmpeg: [mpeg4 @ 0x13401b0c0] Failed setup for format videotoolbox_vld: hwaccel initialisation returned error. HOT 3
- SetFilters does not refresh the current frame. HOT 1
- Custom HW accelerated renderer
- Introduce rotation metadata to streams HOT 1
- Error with Qt 6.7 beta 2: no type named 'ReturnType' in 'QtPrivate::Callable' HOT 1
- Drag play window bug HOT 6
- QAVAudioOutput has crackling audio when there are other CPU intensive tasks running on the PC HOT 20
- release
- Possible rare crash in avcodec_send_packet() ? HOT 5
- Slow playback on file_example_AVI_480_750kB.avi
- Erro ao converter QAVVideoFrame para QVideoFrame HOT 5
- Correção do drm/drm_fourcc.h não encontrado HOT 3
- FFmpeg: [swscaler @ 0x7f5454a79e00] deprecated pixel format used, make sure you did set range correctly HOT 1
- BUG - Função Stop HOT 2
- QtAvplayer itself compiles on 6.7.1 but C++ code fails HOT 6
- Memory leak HOT 3
- Consume QAVFrame with QGraphicsVideoItem HOT 11
- QAVAudioFrame::data() reinitializes the resampler over and over again
- Falha ao compilar o qtavplayer no QT 6.7.2 HOT 2
- Play video from buffer and append buffer while the video playing HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from qtavplayer.