wang-bin
e898e6af15
no stl types that break abi
...
most algorithms and containers are fine. no std::string, exception
2015-09-13 20:29:21 +08:00
wang-bin
665f1d9bd6
qstring optimize & QT_NO_CAST_FROM_ASCI build error part2
...
QLatin1String:
- QString has override function && no implicitly convert to QString:
indexof,contains,==,insert,append,prepend,
+=,replace,compare,<,startswith,endswith
- not from a raw string
2015-08-08 20:49:22 +08:00
wang-bin
23b8dc395c
sub: support internal tracks switch. but update at next demuxer read
2015-08-03 13:30:39 +08:00
wang-bin
625ab590c8
simplify async load
2015-07-01 16:11:06 +08:00
wang-bin
b3b15551e0
qml: fix autoplay load twice if play() after set source
2015-06-30 17:19:44 +08:00
Fred Chien
deae22e958
Add useWallclockAsTimerstamps property to AVPlayer for media stream has
...
no timestamp info
2015-06-24 03:00:53 +08:00
wang-bin
713997234a
qml: StoppedState is set immediately after stop()
...
fix the following code can not work
video.stop()
video.play()
2015-06-02 11:00:23 +08:00
wang-bin
1dc1f26828
qml: avoid play twice in play(url)
2015-05-31 20:43:46 +08:00
wang-bin
784292b58f
qml: change state if pause, source changed & autoplay
2015-05-27 11:45:08 +08:00
wang-bin
0b2315441d
qml: change playbackState only in slots not in setPlaybackState
2015-05-27 10:57:18 +08:00
wang-bin
dc96b30dd1
more audio track info
2015-05-15 13:12:54 +08:00
wang-bin
ebac30e4b4
add missing durationChanged signal
2015-05-14 15:04:30 +08:00
wang-bin
dcaf4692d0
qml: add external audio track api
2015-05-14 14:05:55 +08:00
wang-bin
ab48511183
qml: add MediaPlayer.videoCapture
2015-05-05 17:14:55 +08:00
wang-bin
8828cde962
add signal seekFinished
2015-05-05 11:51:03 +08:00
wang-bin
e70686acbf
support continue playback on timeout
2015-04-20 14:13:52 +08:00
wang-bin
1b4714bbd4
qml: simplify volume change logic
2015-04-01 11:41:42 +08:00
wang-bin
790b62df4c
simplify audio control in AVPlayer
2015-03-30 22:15:39 +08:00
wang-bin
dec46c5fe0
fix wrong media status value
...
the value was the same as demuxer's. now it is updated by demuxer and
demux thread
2015-03-27 20:08:38 +08:00
wang-bin
df3208c8bf
add bufferProgress property to player
2015-03-19 16:26:56 +08:00
wang-bin
e9db66cda5
emit volumeChanged instead & update volume() if volume changed outside
2015-03-16 17:57:11 +08:00
wang-bin
addc141af4
add signals to report volume change from system per-app volume control
2015-03-10 16:03:16 +08:00
wang-bin
a0cefa67e3
fix old qt version build error
2015-02-07 18:09:24 +08:00
wang-bin
f19f3e9cb7
qml: add MediaPlayer.fastSeek
2015-02-03 15:05:09 +08:00
wang-bin
3bbf80ccf8
add AVPlayer.isSeekable. improve seekable detection
...
seekable in old implemention is always true. not sure whether current
solution is correct or not
2015-01-20 16:43:17 +08:00
wang-bin
7f0ecdd824
qml: add timeout property
2014-12-29 17:32:17 +08:00
wang-bin
9422c464c2
qml: emit playbackStateChanged after metaData is set
2014-12-09 11:35:26 +08:00
wang-bin
3e8e133216
properties must be applied even if set when player is not started
...
TODO: add applyXXX for those properties
2014-11-18 15:58:48 +08:00
wang-bin
2983d51ebf
qml: add MediaPlayer.Status
2014-11-17 18:45:13 +08:00
wang-bin
3143ad6228
MediaPlayer.stop() also unload the media.
2014-11-15 21:21:08 +08:00
wang-bin
4a9e411cc1
access player after it is started
2014-11-13 17:41:43 +08:00
wang-bin
8e2cb0906e
correctly convert url to original string
...
encode then decode.
TODO: use url in qml if possible (QuickSubtitle)
2014-11-07 16:18:00 +08:00
wang-bin
21ec2165c8
qml add video decoder options. workaround for variant map
...
QVariantMap is better to interact with js object.
QVariantHash is not supported in qml. So it's better to
change AVPlayer.setOptionsXXX argument to QVariantMap
2014-11-03 16:06:45 +08:00
wang-bin
7f6c54ea7e
qml: volume, channelLayout apply on start
2014-10-30 17:49:14 +08:00
wang-bin
92a8d46890
better error handling about format, resource and codec error.
2014-10-20 16:48:48 +08:00
wang-bin
b17888c8f1
qmL: add hasAudio hasVideo. wrong result if auto load
2014-10-20 11:52:12 +08:00
wang-bin
85a2c2eeef
check network error
2014-10-14 15:54:13 +08:00
wang-bin
5b91a7c7b1
qml error handling
...
TODO: emit NoError in AVPlayer when it start?
2014-10-14 13:40:52 +08:00
wang-bin
e3c152d777
qml: do not call stop after setSource
...
if autoPlay is true, setSource will call play
2014-09-24 00:32:53 +08:00
sherpya
fe80bceb85
qmlavplayer: mimic qtmultimedia's mediaObject
...
signal connections are moved in beginClass() as in qtdeclarativeaudio
(MediaPlayer)
2014-09-22 19:42:53 +02:00
wang-bin
6863895799
qml: meta data api
2014-09-16 20:36:49 +08:00
wang-bin
6d27868854
qml: playbackRate
2014-09-16 11:29:51 +08:00
wang-bin
8d10a79825
qml: can not auto play if source changed
2014-07-28 00:42:20 +08:00
wang-bin
7eddbfd584
qml: disable vaapi glx until opengl is supported in qml
2014-06-26 23:33:53 +08:00
wang-bin
01f8af9be0
qml: fix load twice if autoPlay is set. internal bug
2014-06-21 00:49:16 +08:00
wang-bin
2797173ace
qml: fix auto play crash
2014-06-21 00:33:00 +08:00
wang-bin
fd11a56f77
qml: channel layout support
2014-04-12 20:26:21 +08:00
wang-bin
5832ca107b
remove QtAV::EventFilter. It should be in user's player code
...
How about VideoOutputEventFilter(except close event)
2014-01-24 00:26:43 +08:00
wang-bin
3436ed8b52
qml: add hasAudio/hasVideo and Video.qml from qtmm
2014-01-20 01:20:19 +08:00
wang-bin
8a03b71734
qml: remove some apis. play() works like qtmultimedia
2014-01-18 15:55:31 +08:00