Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(64)

Issue 341083004: Introduce the playback time into the MSE garbage collection. (Closed)

Created:
6 years, 6 months ago by damienv1
Modified:
5 years, 2 months ago
CC:
chromium-reviews, feature-media-reviews_chromium.org
Project:
chromium
Visibility:
Public.

Description

Introduce the playback time into the MSE garbage collection. The MSE spec - section 2.4.4 SourceBuffer Monitoring - mentions what should be the media element state based on the playback time and the MSE source buffer ranges. There is currently no mechanism in the garbage collection to prevent the current playback time from being garbage collected. This CL protects the buffers corresponding to the current playback time. BUG=None

Patch Set 1 #

Total comments: 2

Patch Set 2 : New flow to pass the media time to SourceBufferStream. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+115 lines, -33 lines) Patch
M media/filters/chunk_demuxer.h View 1 2 chunks +6 lines, -1 line 0 comments Download
M media/filters/chunk_demuxer.cc View 1 12 chunks +23 lines, -8 lines 0 comments Download
M media/filters/frame_processor.h View 1 2 chunks +4 lines, -2 lines 0 comments Download
M media/filters/frame_processor.cc View 1 4 chunks +6 lines, -4 lines 0 comments Download
M media/filters/frame_processor_base.h View 1 1 chunk +2 lines, -1 line 0 comments Download
M media/filters/legacy_frame_processor.h View 1 2 chunks +4 lines, -2 lines 0 comments Download
M media/filters/legacy_frame_processor.cc View 1 4 chunks +11 lines, -6 lines 0 comments Download
M media/filters/source_buffer_stream.h View 1 4 chunks +17 lines, -3 lines 0 comments Download
M media/filters/source_buffer_stream.cc View 1 12 chunks +42 lines, -6 lines 0 comments Download

Messages

Total messages: 10 (1 generated)
damienv1
This CL is not complete (the current playback time is not passed to the SourceBufferStream). ...
6 years, 6 months ago (2014-06-19 15:37:42 UTC) #1
acolwell GONE FROM CHROMIUM
On 2014/06/19 15:37:42, damienv1 wrote: > This CL is not complete (the current playback time ...
6 years, 6 months ago (2014-06-19 15:46:49 UTC) #2
acolwell GONE FROM CHROMIUM
https://codereview.chromium.org/341083004/diff/1/media/filters/source_buffer_stream.cc File media/filters/source_buffer_stream.cc (right): https://codereview.chromium.org/341083004/diff/1/media/filters/source_buffer_stream.cc#newcode904 media/filters/source_buffer_stream.cc:904: } I think you need a LastGOP equivalent so ...
6 years, 6 months ago (2014-06-19 16:00:26 UTC) #3
damienv1
Aaron, you don't want to protect just buffers located at the current playback time but ...
6 years, 6 months ago (2014-06-19 16:36:58 UTC) #4
damienv1
Please take another look at the structure. Once we agree on the structure, I will: ...
6 years, 6 months ago (2014-06-19 17:55:10 UTC) #5
acolwell GONE FROM CHROMIUM
On 2014/06/19 17:55:10, damienv1 wrote: > Please take another look at the structure. > Once ...
6 years, 6 months ago (2014-06-23 17:02:27 UTC) #6
damienv1
Agree, the garbage collection could be invoked outside of the Append loop. In that case, ...
6 years, 5 months ago (2014-07-02 22:58:58 UTC) #7
acolwell GONE FROM CHROMIUM
On 2014/07/02 22:58:58, damienv1 wrote: > Agree, the garbage collection could be invoked outside of ...
6 years, 5 months ago (2014-07-03 00:57:17 UTC) #8
servolk
5 years, 2 months ago (2015-10-09 22:14:24 UTC) #10
On 2014/07/03 00:57:17, acolwell GONE FROM CHROMIUM wrote:
> On 2014/07/02 22:58:58, damienv1 wrote:
> > Agree, the garbage collection could be invoked outside of the Append loop.
> > 
> > In that case, this CL needs to be broken:
> > 1- move the garbage collection outside of the append loop
> > 2- introduce the playback time into the MSE garbage collection.
> 
> Sounds like a good plan to me.

Since https://codereview.chromium.org/1008463002/ has landed, this is now
obsolete, so closing it.

Powered by Google App Engine
This is Rietveld 408576698