| Commit message (Collapse) | Author | Age | Files | Lines |
|\
| |
| |
| |
| | |
* commit 'd576687570f19f3956d91c1d3da10d965e34c407':
AwesomePlayer: fix concurrent pause and teardown
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
There was a race condition if a pause request was received
while we were executing a teardown event. Although we hold
a mutex while processing the teardown event, there is a step
of the prepare sequence where we release the mutex if streaming.
In this case, the pause request is executed but ignored because
the player state is still preparing. At the end of the teardown
event processing we restore previous playback state and resume.
The fix consists in clearing the saved teardown playback state
when a pause request is received while processing a teardown event.
Bug: 11225491.
Change-Id: If0e61855ce5a336322f1ba8e5559bdc190beeb76
|
|\ \
| |/
| |
| |
| | |
* commit 'aab5b08cb4a3b5a47daece6168f41ec918020739':
AwesomePlayer: do not send events when paused.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
When streaming audio and paused, AwesomePlayer should
stop sending BufferingEvents as they will keep a wake lock
for no reason.
TimedEventQueue should always acquire the wakelock with mediaserver
identity so that it is released with the same identity by the
event handler thread.
Bug: 11104408.
Change-Id: Ied0e03acd6ad2f5a4c0ec82d5c2aa4e1c6da772c
|
|\ \
| |/
| |
| |
| | |
* commit 'da0926afdb12794497c93d68eee296f2d92bfa7e':
TimedEventQueue takes a wake lock
|
| |\ |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Take a wake lock when events present in a TimedEventQueue
to prevent from going idle before all delayed events are
processed.
Bug: 11057387.
Change-Id: I26a17df68068fde5e879a2fe7568dec439fc540f
|
|\ \ \
| |/ /
| | |
| | |
| | |
| | |
| | | |
reconfiguration" into klp-dev
* commit '7bab024867996bec6dc4e3e31ed4570da9afbc25':
MediaCodec: avoid codec EOS if flushing during port reconfiguration
|
| |\ \
| | |/
| |/|
| | | |
into klp-dev
|
| | |
| | |
| | |
| | |
| | |
| | | |
Change-Id: Ic2e93f38feeb2e906f8d6b400ed6df2b7580ca87
Signed-off-by: Lajos Molnar <lajos@google.com>
Bug: 11045434
|
|\ \ \
| |/ /
| | |
| | |
| | |
| | |
| | | |
format key" into klp-dev
* commit '580ed263a6ea6c766f9f715e101340c7fe26ab75':
stagefright: enable adaptive playback based on codec format key
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Added support for prepareForAdaptivePlayback() call in
configureCodec, if max-width and max-height keys are specified
in the format. It is OK for this call to fail, if component
does not implement adaptive playback.
Change-Id: Ie15892bc666df103b635890a0fda799b204bb06c
Signed-off-by: Lajos Molnar <lajos@google.com>
Bug: 7093648
Bug: 10192531
|
|\ \ \
| |/ /
| | |
| | |
| | | |
* commit '56ce726019f700a95ce5b45beebceadae4836e30':
IOMX: Add prepareForAdaptivePlayback method
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
prepareForAdaptivePlayback is the fallback mechanism to support
seamless resolution change for devices that do not support dynamic
output buffers. It is up to the codecs to handle this appropriately,
but codecs that do not handle dynamic output buffers would
request enough buffers up to the requested size in this method
to avoid port reconfiguration on resolution changes.
Change-Id: I58d4aa8ef1359ea3472735bbe9140c3132039b3d
Signed-off-by: Lajos Molnar <lajos@google.com>
Bug: 10192531
Related-to-bug: 7093648
|
|\ \ \
| |/ /
| | |
| | |
| | | |
* commit 'a306ee6bc1aef463f8984be26b8a4214490b6c55':
Remove now unused wfd commandline tool. (also unbreaks the build)
|
| | |
| | |
| | |
| | |
| | | |
Change-Id: I03320342976e4e355cc6aeb3d2c485985613b3b5
related-to-bug: 11047222
|
|\ \ \
| |/ /
| | |
| | |
| | | |
* commit '6ea551fa13b69e5ce359a7dba7485d857a005304':
Remove obsolete miracast sink code and friends.
|
| |/
| |
| |
| |
| | |
Change-Id: I8bbb22fb0cfe2d73881d9f05bf8112ae86d8040b
related-to-bug: 11047222
|
|\ \
| |/
| |
| |
| | |
* commit '353fb9bf940ee34a3885bc85ec7891228e958a4b':
MediaTimeProvider support fixes
|
| |\ |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Add MEDIA_SKIPPED event when resuming at a different time than
seeked to.
Send MEDIA_STARTED/PAUSED events only when playing (vs. when doing seek
previews)
Change-Id: I243ebf054303755ea8863229c3211694f2c204a7
Signed-off-by: Lajos Molnar <lajos@google.com>
Bug: 10954008
|
|\ \ \
| |/ /
| | |
| | |
| | |
| | |
| | | |
non-native-window mode" into klp-dev
* commit '5fd39f777d54368a93fc9d8a6a24da0239d41fcf':
MediaCodecInfo: report supported color formats for non-native-window mode
|
| |\ \
| | | |
| | | |
| | | | |
mode" into klp-dev
|
| | |/
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Revert the change in behavior when checking for adaptive playback was
introduced.
Change-Id: I59dc2450a4299b912015f2e4c9ec018a19a20b84
Signed-off-by: Lajos Molnar <lajos@google.com>
Bug: 10921537
|
|\ \ \
| |/ /
| | |
| | |
| | | |
* commit 'f006989d8f222639ac170067d371e11daf0e76ae':
Change VP8 encoder bitrate
|
| |\ \ |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Allow the bitrate to be updated while the encoder is running.
Bug: 8422347
Change-Id: I8427fe20921b00f92b8f99fe21691709fab354b0
|
|\ \ \ \
| |/ / /
| | | |
| | | |
| | | | |
* commit '0797fb709d2cdd35fe596b6089b259ad10d345d6':
Indicate sync frames returned by encoder
|
| |\ \ \
| | |/ /
| | | /
| | |/
| |/| |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Set the appropriate OMX flag when the encoder generates a keyframe. This
is necessary for any muxer which needs to indicate which frames are
seekable.
Bug: 8422347
Change-Id: I744a0b3023db24d3de2210bce82f41e50d259505
|
|\ \ \
| |/ /
| | |
| | |
| | |
| | |
| | | |
into klp-dev
* commit '3d97e23fcd78f752443cb6c30a1ee39f49f1f987':
Prevent onPrepared callback from being called twice
|
| |\ \ |
|
| | |/
| | |
| | |
| | |
| | |
| | | |
b/10891995
Change-Id: If6845c832d114629282f0b03f904a37c3325208e
|
|\ \ \
| |/ /
| | |
| | |
| | |
| | |
| | | |
klp-dev
* commit 'f2c8b02786c58b98d41d3f7c30e882cacc34e7ab':
fix playback position after switching to offload
|
| |/
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
After switching from offloaded track to PCM track
while paused (e.g. when connecting A2DP), playback
restarts from the beginning of the song when resuming.
Save current position before recreating an AudioPlayer
in AwesomePlayer::play_l() and seek to the saved position before
starting playback.
Also fix a problem where the position is not reported properly
by AudioPlayer if a seek is pending and queried just after start
and before the first buffer is read from the MediaSource.
Bug: 8174034.
Change-Id: I254e65418ff903a9bf2e2111b89a00e2e54876c5
|
|\ \
| |/
| |
| |
| |
| |
| | |
access unit" into klp-dev
* commit '58dd07863571951408b67fa0a7f17cb23606fb1c':
Send kWhatConnected in onTimeUpdate() before first access unit
|
| |
| |
| |
| |
| | |
Bug: 10642588
Change-Id: If2b4fbbf250d5307e304f31c7aa4ac480e279484
|
|\ \
| | |
| | |
| | |
| | |
| | |
| | | |
SoftwareRenderer"
* commit '6c63fe0fdb33e5e7eb8c89f2420262b072cdd83f':
MediaCodec: Pass the crop rect to SoftwareRenderer
|
| | |
| | |
| | |
| | | |
Change-Id: I434411516eb5fafe9d7aeac9882bbc7f1a8415d8
|
|\ \ \
| | |/
| |/|
| | |
| | |
| | |
| | | |
value" into klp-dev
* commit 'ab6c93b4bea96dc4f44a7acfefee1e11a3abda5b':
Use changed MediaCodec.PARAMETER_KEY_VIDEO_BITRATE value
|
| | |
| | |
| | |
| | |
| | |
| | | |
Change-Id: I157bcafbf705865e66c81517b1eab10c3daa039e
Signed-off-by: Lajos Molnar <lajos@google.com>
Bug: 10461617
|
|\ \ \
| |/ /
| | |
| | |
| | |
| | |
| | | |
mode" into klp-dev
* commit '877c673c3d3794e89e4677d448f38f77bdee7fdb':
ACodec: fix flush/resume for decoder-output-meta-data mode
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
When in decoder-output-meta-data mode, ACodec does not hold onto
buffers, but they are either with the native window, or with the
component/client. However, for flushing we did not release the
discarded buffers back to native window (this makes sense because
they will be resubmitted shortly.) This logic can be handled by
the normal resubmission.
Change-Id: Ic472b386422251515ef12f426e187f208f14decc
Signed-off-by: Lajos Molnar <lajos@google.com>
Bug: 10621959
Bug: 10192533
|
|\ \ \
| |/ /
| | |
| | |
| | | |
* commit 'a911f51c21430ac92f1d796b2338878fd98382e9':
Pass subtitle track properties to getTrackInfo
|
| | |
| | |
| | |
| | |
| | |
| | | |
Bug: 10326117
Change-Id: I15fcc49ad02e26d7cc92e82ee670bafca62a09a7
|
|\ \ \
| |/ /
| | |
| | |
| | | |
* commit '7f9551f75eedb3e4e1fe8feaaba48d8080635fc4':
MediaMuxer: Hook up setLocation method
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This method is needed when mediamuxer is used for camera video recording.
Bug: 10594784
Change-Id: I9bd006a07e5e2ac7019849e3f4f7cf7b8356d669
|
|\ \ \
| |/ /
| | |
| | |
| | | |
* commit 'c23981d9375d4a55f5701a4090b36deecda92f92':
Better workaround for slow decoders.
|
| |\ \ |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
This is more in the spirit of the original code. Now it checks
whether a codec instantiated by name is a video codec, and enables
the extra looper if so.
b/10528409
Change-Id: Ia253c04c1283d4ecf66f213ef4bf523279ad7cca
|