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

Issue 10540067: Switch to using avcodec_decode_audio4, avcodec_alloc_context3. (Closed)

Created:
8 years, 6 months ago by DaleCurtis
Modified:
8 years, 6 months ago
CC:
chromium-reviews, feature-media-reviews_chromium.org, Chris Rogers
Visibility:
Public.

Description

Switch to using avcodec_decode_audio4, avcodec_alloc_context3. Allows us to remove another patch from FFmpeg relating to using deprecated features! We're now using the latest and greatest! FFmpeg side changes here, https://gerrit.chromium.org/gerrit/24823 BUG=112673 TEST=ffmpeg_regression_tests, webaudio tests. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=141524

Patch Set 1 #

Total comments: 6

Patch Set 2 : Review Fixes! #

Total comments: 1

Patch Set 3 : Add DEPS roll. #

Patch Set 4 : Fix tools. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+120 lines, -88 lines) Patch
M DEPS View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
M media/ffmpeg/ffmpeg_unittest.cc View 1 2 3 5 chunks +11 lines, -14 lines 0 comments Download
M media/filters/audio_file_reader.cc View 1 3 chunks +14 lines, -12 lines 0 comments Download
M media/filters/ffmpeg_audio_decoder.h View 2 chunks +3 lines, -5 lines 0 comments Download
M media/filters/ffmpeg_audio_decoder.cc View 9 chunks +26 lines, -26 lines 0 comments Download
M media/filters/ffmpeg_video_decoder.cc View 2 chunks +4 lines, -1 line 0 comments Download
M media/test/ffmpeg_tests/ffmpeg_tests.cc View 1 2 3 4 chunks +31 lines, -15 lines 0 comments Download
M media/tools/media_bench/media_bench.cc View 1 2 3 5 chunks +29 lines, -13 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
DaleCurtis
rbultje: please review my ffmpeg usage. scherkus: please review my chrome code! crogers: fyi. ffmpeg ...
8 years, 6 months ago (2012-06-08 00:40:29 UTC) #1
scherkus (not reviewing)
https://chromiumcodereview.appspot.com/10540067/diff/1/media/filters/audio_file_reader.cc File media/filters/audio_file_reader.cc (right): https://chromiumcodereview.appspot.com/10540067/diff/1/media/filters/audio_file_reader.cc#newcode128 media/filters/audio_file_reader.cc:128: scoped_ptr_malloc<AVFrame, ScopedPtrAVFree> avframe(avcodec_alloc_frame()); nit: FFVD uses av_frame https://chromiumcodereview.appspot.com/10540067/diff/1/media/filters/ffmpeg_audio_decoder.cc File ...
8 years, 6 months ago (2012-06-08 00:51:22 UTC) #2
DaleCurtis
https://chromiumcodereview.appspot.com/10540067/diff/1/media/filters/audio_file_reader.cc File media/filters/audio_file_reader.cc (right): https://chromiumcodereview.appspot.com/10540067/diff/1/media/filters/audio_file_reader.cc#newcode128 media/filters/audio_file_reader.cc:128: scoped_ptr_malloc<AVFrame, ScopedPtrAVFree> avframe(avcodec_alloc_frame()); On 2012/06/08 00:51:22, scherkus wrote: > ...
8 years, 6 months ago (2012-06-08 01:00:01 UTC) #3
scherkus (not reviewing)
LGTM!
8 years, 6 months ago (2012-06-08 01:04:17 UTC) #4
rbultje1
FFmpeg part lgtm also. https://chromiumcodereview.appspot.com/10540067/diff/7001/media/filters/audio_file_reader.cc File media/filters/audio_file_reader.cc (right): https://chromiumcodereview.appspot.com/10540067/diff/7001/media/filters/audio_file_reader.cc#newcode174 media/filters/audio_file_reader.cc:174: DLOG(WARNING) You know when I ...
8 years, 6 months ago (2012-06-08 14:29:01 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dalecurtis@chromium.org/10540067/9005
8 years, 6 months ago (2012-06-11 20:52:32 UTC) #6
commit-bot: I haz the power
8 years, 6 months ago (2012-06-11 22:07:37 UTC) #7
Change committed as 141524

Powered by Google App Engine
This is Rietveld 408576698