Closed Bug 1072295 Opened 10 years ago Closed 6 years ago

Update timestamp when SkipCutBuffer cut ABuffer data in ACodec

Categories

(Core :: Audio/Video: Playback, defect)

defect
Not set
normal

Tracking

()

RESOLVED INACTIVE

People

(Reporter: sotaro, Unassigned)

References

Details

+++ This bug was initially created as a clone of Bug #1052206 +++

Same fix to attachment 8493313 [details] [diff] [review] in Bug 1052206 is also necessary to ACodec. It is not addressed, mp3 playback start could have a tick noise/silence gap.
See Also: → 1052206
brsun, isn't this bug necessary to enable MediaCodec for audio decoding?
Flags: needinfo?(brsun)
Blocks: 904177
Flags: needinfo?(brsun)
Whoops, add ni myself back. Let me check it first.
Flags: needinfo?(brsun)
Blocks: 1033900
Flags: needinfo?(brsun)
Indeed. This bug also needs to be fixed on ACodec.

I am thinking the possibility to move the timestamps recalculation from OMXCodec/ACodec into SkipCutBuffer itself.
(In reply to Bruce Sun [:brsun] from comment #3)
> Indeed. This bug also needs to be fixed on ACodec.
> 
> I am thinking the possibility to move the timestamps recalculation from
> OMXCodec/ACodec into SkipCutBuffer itself.

I did not do that in Bug 1052206, because it need modification to both OMXCodec and SkipCutBuffer. But if we need to modify both SkipCutBuffe and ACodec. Modifying SkipCutBuffer seems make sense. Just modify SkipCutBuffer::submit() might be simpler.
Component: Audio/Video → Audio/Video: Playback
Mass closing do to inactivity.
Feel free to re-open if still needed.
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → INACTIVE
You need to log in before you can comment on or make changes to this bug.