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

Issue 13991013: Linux: make it possible to compile against libav when use_system_ffmpeg==1 (Closed)

Created:
7 years, 8 months ago by Paweł Hajdan Jr.
Modified:
7 years, 8 months ago
Reviewers:
DaleCurtis
CC:
chromium-reviews, feature-media-reviews_chromium.org
Visibility:
Public.

Description

Linux: make it possible to compile against libav when use_system_ffmpeg==1 libav's AVFrame doesn't have channels field. BUG=none Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=195001

Patch Set 1 #

Patch Set 2 : tabs #

Total comments: 12

Patch Set 3 : #ifdefs #

Total comments: 4

Patch Set 4 : varz #

Unified diffs Side-by-side diffs Delta from patch set Stats (+31 lines, -9 lines) Patch
M media/filters/audio_file_reader.cc View 1 2 3 1 chunk +8 lines, -2 lines 0 comments Download
M media/filters/ffmpeg_audio_decoder.cc View 1 2 3 1 chunk +8 lines, -2 lines 0 comments Download
M media/media.gyp View 1 2 1 chunk +15 lines, -5 lines 0 comments Download

Messages

Total messages: 16 (0 generated)
Paweł Hajdan Jr.
7 years, 8 months ago (2013-04-15 22:56:16 UTC) #1
DaleCurtis
https://codereview.chromium.org/13991013/diff/2001/media/filters/audio_file_reader.cc File media/filters/audio_file_reader.cc (right): https://codereview.chromium.org/13991013/diff/2001/media/filters/audio_file_reader.cc#newcode183 media/filters/audio_file_reader.cc:183: av_frame_get_channels(av_frame.get()) != channels_ || Why? When use_system_ffmpeg is used ...
7 years, 8 months ago (2013-04-15 23:12:53 UTC) #2
Paweł Hajdan Jr.
https://codereview.chromium.org/13991013/diff/2001/media/filters/audio_file_reader.cc File media/filters/audio_file_reader.cc (right): https://codereview.chromium.org/13991013/diff/2001/media/filters/audio_file_reader.cc#newcode183 media/filters/audio_file_reader.cc:183: av_frame_get_channels(av_frame.get()) != channels_ || On 2013/04/15 23:12:53, DaleCurtis wrote: ...
7 years, 8 months ago (2013-04-15 23:51:49 UTC) #3
DaleCurtis
https://codereview.chromium.org/13991013/diff/2001/media/filters/audio_file_reader.cc File media/filters/audio_file_reader.cc (right): https://codereview.chromium.org/13991013/diff/2001/media/filters/audio_file_reader.cc#newcode183 media/filters/audio_file_reader.cc:183: av_frame_get_channels(av_frame.get()) != channels_ || On 2013/04/15 23:51:49, Paweł Hajdan ...
7 years, 8 months ago (2013-04-16 20:46:56 UTC) #4
Paweł Hajdan Jr.
https://codereview.chromium.org/13991013/diff/2001/media/filters/audio_file_reader.cc File media/filters/audio_file_reader.cc (right): https://codereview.chromium.org/13991013/diff/2001/media/filters/audio_file_reader.cc#newcode183 media/filters/audio_file_reader.cc:183: av_frame_get_channels(av_frame.get()) != channels_ || On 2013/04/16 20:46:56, DaleCurtis wrote: ...
7 years, 8 months ago (2013-04-16 20:59:36 UTC) #5
DaleCurtis
https://codereview.chromium.org/13991013/diff/2001/media/filters/audio_file_reader.cc File media/filters/audio_file_reader.cc (right): https://codereview.chromium.org/13991013/diff/2001/media/filters/audio_file_reader.cc#newcode183 media/filters/audio_file_reader.cc:183: av_frame_get_channels(av_frame.get()) != channels_ || On 2013/04/16 20:59:36, Paweł Hajdan ...
7 years, 8 months ago (2013-04-16 21:25:56 UTC) #6
Paweł Hajdan Jr.
https://codereview.chromium.org/13991013/diff/2001/media/filters/audio_file_reader.cc File media/filters/audio_file_reader.cc (right): https://codereview.chromium.org/13991013/diff/2001/media/filters/audio_file_reader.cc#newcode183 media/filters/audio_file_reader.cc:183: av_frame_get_channels(av_frame.get()) != channels_ || On 2013/04/16 21:25:56, DaleCurtis wrote: ...
7 years, 8 months ago (2013-04-16 21:50:34 UTC) #7
DaleCurtis
https://codereview.chromium.org/13991013/diff/2001/media/filters/audio_file_reader.cc File media/filters/audio_file_reader.cc (right): https://codereview.chromium.org/13991013/diff/2001/media/filters/audio_file_reader.cc#newcode183 media/filters/audio_file_reader.cc:183: av_frame_get_channels(av_frame.get()) != channels_ || On 2013/04/16 21:50:35, Paweł Hajdan ...
7 years, 8 months ago (2013-04-17 21:17:09 UTC) #8
Paweł Hajdan Jr.
https://codereview.chromium.org/13991013/diff/2001/media/filters/audio_file_reader.cc File media/filters/audio_file_reader.cc (right): https://codereview.chromium.org/13991013/diff/2001/media/filters/audio_file_reader.cc#newcode183 media/filters/audio_file_reader.cc:183: av_frame_get_channels(av_frame.get()) != channels_ || On 2013/04/17 21:17:09, DaleCurtis wrote: ...
7 years, 8 months ago (2013-04-17 22:07:34 UTC) #9
DaleCurtis
It might show up if you build ffmpeg_regression_tests under asan and run them against libav. ...
7 years, 8 months ago (2013-04-17 22:12:59 UTC) #10
DaleCurtis
https://codereview.chromium.org/13991013/diff/13001/media/filters/audio_file_reader.cc File media/filters/audio_file_reader.cc (right): https://codereview.chromium.org/13991013/diff/13001/media/filters/audio_file_reader.cc#newcode183 media/filters/audio_file_reader.cc:183: #ifdef CHROMIUM_NO_AVFRAME_CHANNELS Instead of doing this, just do one ...
7 years, 8 months ago (2013-04-17 22:14:23 UTC) #11
Paweł Hajdan Jr.
PTAL https://codereview.chromium.org/13991013/diff/13001/media/filters/audio_file_reader.cc File media/filters/audio_file_reader.cc (right): https://codereview.chromium.org/13991013/diff/13001/media/filters/audio_file_reader.cc#newcode183 media/filters/audio_file_reader.cc:183: #ifdef CHROMIUM_NO_AVFRAME_CHANNELS On 2013/04/17 22:14:23, DaleCurtis wrote: > ...
7 years, 8 months ago (2013-04-18 17:27:10 UTC) #12
DaleCurtis
https://code.google.com/p/chromium/codesearch#chromium/src/webkit/media/crypto/ppapi/ffmpeg_cdm_audio_decoder.cc Needs updating too.
7 years, 8 months ago (2013-04-18 17:43:39 UTC) #13
Paweł Hajdan Jr.
On 2013/04/18 17:43:39, DaleCurtis wrote: > https://code.google.com/p/chromium/codesearch#chromium/src/webkit/media/crypto/ppapi/ffmpeg_cdm_audio_decoder.cc > > Needs updating too. It didn't come ...
7 years, 8 months ago (2013-04-18 18:36:31 UTC) #14
DaleCurtis
lgtm
7 years, 8 months ago (2013-04-18 18:42:02 UTC) #15
Paweł Hajdan Jr.
7 years, 8 months ago (2013-04-18 21:05:07 UTC) #16
Message was sent while issue was closed.
Committed patchset #4 manually as r195001 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698