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

Issue 10836304: Add support for config changes during playback to FFmpegVideoDecoder. (Closed)

Created:
8 years, 4 months ago by acolwell GONE FROM CHROMIUM
Modified:
8 years, 4 months ago
CC:
chromium-reviews, feature-media-reviews_chromium.org
Visibility:
Public.

Description

Add support for config changes during playback to FFmpegVideoDecoder. Also fixed a minor config change related bug in SourceBufferStream. BUG=122913 TEST=PipelineIntegrationTest.MediaSource_MP4ConfigChange, SourceBufferStreamTest.ConfigChange_Basic, PipelineIntegrationTest.MediaSource_Seek Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=152622

Patch Set 1 #

Total comments: 24

Patch Set 2 : Address CR comments #

Patch Set 3 : Added WebM config change test so we get coverage on Chromium bots that don't have MP4 enabled. #

Total comments: 4
Unified diffs Side-by-side diffs Delta from patch set Stats (+277 lines, -103 lines) Patch
M media/filters/chunk_demuxer_unittest.cc View 1 4 chunks +0 lines, -14 lines 0 comments Download
M media/filters/ffmpeg_video_decoder.h View 1 1 chunk +4 lines, -0 lines 0 comments Download
M media/filters/ffmpeg_video_decoder.cc View 1 3 chunks +49 lines, -36 lines 0 comments Download
M media/filters/pipeline_integration_test.cc View 1 2 10 chunks +91 lines, -22 lines 2 comments Download
M media/filters/source_buffer_stream.h View 1 1 chunk +7 lines, -1 line 0 comments Download
M media/filters/source_buffer_stream.cc View 1 8 chunks +23 lines, -16 lines 0 comments Download
M media/filters/source_buffer_stream_unittest.cc View 1 4 chunks +102 lines, -1 line 2 comments Download
M media/mp4/mp4_stream_parser.cc View 1 chunk +1 line, -8 lines 0 comments Download
M media/mp4/mp4_stream_parser_unittest.cc View 1 chunk +0 lines, -5 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
acolwell GONE FROM CHROMIUM
8 years, 4 months ago (2012-08-17 00:39:35 UTC) #1
Ami GONE FROM CHROMIUM
Very nice. http://codereview.chromium.org/10836304/diff/1/media/filters/ffmpeg_video_decoder.h File media/filters/ffmpeg_video_decoder.h (right): http://codereview.chromium.org/10836304/diff/1/media/filters/ffmpeg_video_decoder.h#newcode83 media/filters/ffmpeg_video_decoder.h:83: // Handles initializing the decoder with a ...
8 years, 4 months ago (2012-08-17 15:16:59 UTC) #2
acolwell GONE FROM CHROMIUM
http://codereview.chromium.org/10836304/diff/1/media/filters/ffmpeg_video_decoder.h File media/filters/ffmpeg_video_decoder.h (right): http://codereview.chromium.org/10836304/diff/1/media/filters/ffmpeg_video_decoder.h#newcode83 media/filters/ffmpeg_video_decoder.h:83: // Handles initializing the decoder with a new config. ...
8 years, 4 months ago (2012-08-20 23:10:12 UTC) #3
Ami GONE FROM CHROMIUM
LGTM; are you planning to land this as-is and let GVD pick up the pieces ...
8 years, 4 months ago (2012-08-21 17:08:16 UTC) #4
acolwell GONE FROM CHROMIUM
8 years, 4 months ago (2012-08-21 18:18:40 UTC) #5
>are you planning to land this as-is and let GVD pick up the pieces post-facto?

I'm planning to land this as-is and then I'll take a stab at adding support to
GVD.

http://codereview.chromium.org/10836304/diff/5003/media/filters/pipeline_inte...
File media/filters/pipeline_integration_test.cc (right):

http://codereview.chromium.org/10836304/diff/5003/media/filters/pipeline_inte...
media/filters/pipeline_integration_test.cc:329: #if defined(GOOGLE_CHROME_BUILD)
|| defined(USE_PROPRIETARY_CODECS)
On 2012/08/21 17:08:16, Ami Fischman wrote:
> Is this really || and not &&?  IDK, but please double-check.
Sadly yes. Chrome builds don't define USE_PROPRIETARY_CODECS but local
development configurations to, but don't define GOOGLE_CHROME_BUILD. :(

http://codereview.chromium.org/10836304/diff/5003/media/filters/source_buffer...
File media/filters/source_buffer_stream_unittest.cc (right):

http://codereview.chromium.org/10836304/diff/5003/media/filters/source_buffer...
media/filters/source_buffer_stream_unittest.cc:1912: Seek(7);
On 2012/08/21 17:08:16, Ami Fischman wrote:
> Actually my hope was that you would seek to a target *before* the first frame
> with a new config but after the last frame with the old config, to show that
the
> contract of seeking to the first frame following the seek target also makes
the
> right config current.
Talked offline. No change needed.

Powered by Google App Engine
This is Rietveld 408576698