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

Issue 21953003: Added logging calls to FFmpegDemuxer. (Closed)

Created:
7 years, 4 months ago by Ty Overby
Modified:
7 years, 4 months ago
CC:
chromium-reviews, feature-media-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

Added logging calls to FFmpegDemuxer. BUG=260005 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=215982

Patch Set 1 #

Patch Set 2 : Fixed something that got lost in the git madness #

Total comments: 28

Patch Set 3 : #

Total comments: 16

Patch Set 4 : #

Total comments: 6

Patch Set 5 : #

Total comments: 16

Patch Set 6 : #

Patch Set 7 : rewrote boolean flags to use null pointer checks instead #

Total comments: 4

Patch Set 8 : Added sample format name #

Total comments: 6

Patch Set 9 : #

Total comments: 6

Patch Set 10 : #

Patch Set 11 : fixes build on GCC hopefully #

Patch Set 12 : #

Patch Set 13 : got rid of std::to_string #

Patch Set 14 : switched to using double instead of string for file size #

Unified diffs Side-by-side diffs Delta from patch set Stats (+164 lines, -9 lines) Patch
M media/base/media_log.h View 1 2 3 1 chunk +6 lines, -0 lines 0 comments Download
M media/base/media_log.cc View 1 2 3 2 chunks +30 lines, -0 lines 0 comments Download
M media/base/media_log_event.h View 1 2 3 1 chunk +3 lines, -0 lines 0 comments Download
M media/base/sample_format.h View 1 2 3 4 5 6 7 1 chunk +3 lines, -0 lines 0 comments Download
M media/base/sample_format.cc View 1 2 3 4 5 6 7 8 9 1 chunk +23 lines, -0 lines 0 comments Download
M media/base/video_frame.h View 1 2 3 4 1 chunk +3 lines, -0 lines 0 comments Download
M media/base/video_frame.cc View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +28 lines, -0 lines 0 comments Download
M media/filters/ffmpeg_demuxer.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 5 chunks +68 lines, -9 lines 0 comments Download

Messages

Total messages: 32 (0 generated)
Ty Overby
7 years, 4 months ago (2013-08-02 20:08:28 UTC) #1
Ty Overby
Here's the first attempt at adding more logging calls.
7 years, 4 months ago (2013-08-02 20:09:12 UTC) #2
scherkus (not reviewing)
looking good https://codereview.chromium.org/21953003/diff/5001/media/base/media_log.cc File media/base/media_log.cc (right): https://codereview.chromium.org/21953003/diff/5001/media/base/media_log.cc#newcode183 media/base/media_log.cc:183: void MediaLog::SetProperty( these should be SetString/Integer/Double/Boolean as ...
7 years, 4 months ago (2013-08-02 21:53:48 UTC) #3
Ty Overby
Ok, those things are all fixed. I'm returning inside of the switch statement for my ...
7 years, 4 months ago (2013-08-02 23:04:27 UTC) #4
scherkus (not reviewing)
getting closer! https://codereview.chromium.org/21953003/diff/15001/media/base/media_log.cc File media/base/media_log.cc (right): https://codereview.chromium.org/21953003/diff/15001/media/base/media_log.cc#newcode183 media/base/media_log.cc:183: void MediaLog::SetStringProperty( try to match the .h ...
7 years, 4 months ago (2013-08-02 23:18:19 UTC) #5
scherkus (not reviewing)
On 2013/08/02 23:04:27, Ty Overby wrote: > Ok, those things are all fixed. > > ...
7 years, 4 months ago (2013-08-02 23:19:54 UTC) #6
Ty Overby
https://codereview.chromium.org/21953003/diff/15001/media/base/media_log.cc File media/base/media_log.cc (right): https://codereview.chromium.org/21953003/diff/15001/media/base/media_log.cc#newcode183 media/base/media_log.cc:183: void MediaLog::SetStringProperty( On 2013/08/02 23:18:19, scherkus wrote: > try ...
7 years, 4 months ago (2013-08-03 00:02:23 UTC) #7
scherkus (not reviewing)
https://codereview.chromium.org/21953003/diff/15001/media/filters/ffmpeg_demuxer.cc File media/filters/ffmpeg_demuxer.cc (right): https://codereview.chromium.org/21953003/diff/15001/media/filters/ffmpeg_demuxer.cc#newcode517 media/filters/ffmpeg_demuxer.cc:517: media_log_->SetStringProperty("audio_codec_name", On 2013/08/03 00:02:23, Ty Overby wrote: > On ...
7 years, 4 months ago (2013-08-03 00:17:17 UTC) #8
Ty Overby
https://codereview.chromium.org/21953003/diff/25001/media/base/video_frame.cc File media/base/video_frame.cc (right): https://codereview.chromium.org/21953003/diff/25001/media/base/video_frame.cc#newcode62 media/base/video_frame.cc:62: return "NATIVE_TEXTURE"; On 2013/08/03 00:17:18, scherkus (OOO Aug 3-11) ...
7 years, 4 months ago (2013-08-05 19:18:45 UTC) #9
Ty Overby
7 years, 4 months ago (2013-08-05 19:35:04 UTC) #10
DaleCurtis
https://codereview.chromium.org/21953003/diff/30001/media/base/video_frame.cc File media/base/video_frame.cc (right): https://codereview.chromium.org/21953003/diff/30001/media/base/video_frame.cc#newcode46 media/base/video_frame.cc:46: switch(format){ Space after ) https://codereview.chromium.org/21953003/diff/30001/media/filters/ffmpeg_demuxer.cc File media/filters/ffmpeg_demuxer.cc (right): https://codereview.chromium.org/21953003/diff/30001/media/filters/ffmpeg_demuxer.cc#newcode496 ...
7 years, 4 months ago (2013-08-05 19:58:39 UTC) #11
Ty Overby
https://codereview.chromium.org/21953003/diff/30001/media/base/video_frame.cc File media/base/video_frame.cc (right): https://codereview.chromium.org/21953003/diff/30001/media/base/video_frame.cc#newcode46 media/base/video_frame.cc:46: switch(format){ On 2013/08/05 19:58:39, DaleCurtis wrote: > Space after ...
7 years, 4 months ago (2013-08-05 20:14:58 UTC) #12
DaleCurtis
https://codereview.chromium.org/21953003/diff/30001/media/filters/ffmpeg_demuxer.cc File media/filters/ffmpeg_demuxer.cc (right): https://codereview.chromium.org/21953003/diff/30001/media/filters/ffmpeg_demuxer.cc#newcode496 media/filters/ffmpeg_demuxer.cc:496: bool found_audio_stream = false; On 2013/08/05 20:14:59, Ty Overby ...
7 years, 4 months ago (2013-08-05 20:19:22 UTC) #13
Ty Overby
On 2013/08/05 20:19:22, DaleCurtis wrote: > https://codereview.chromium.org/21953003/diff/30001/media/filters/ffmpeg_demuxer.cc > File media/filters/ffmpeg_demuxer.cc (right): > > https://codereview.chromium.org/21953003/diff/30001/media/filters/ffmpeg_demuxer.cc#newcode496 > ...
7 years, 4 months ago (2013-08-05 21:00:20 UTC) #14
DaleCurtis
https://codereview.chromium.org/21953003/diff/38001/media/filters/ffmpeg_demuxer.cc File media/filters/ffmpeg_demuxer.cc (right): https://codereview.chromium.org/21953003/diff/38001/media/filters/ffmpeg_demuxer.cc#newcode590 media/filters/ffmpeg_demuxer.cc:590: AVCodecContext* audio_codec = audio_stream->codec; Do you want to include ...
7 years, 4 months ago (2013-08-05 21:20:41 UTC) #15
Ty Overby
https://codereview.chromium.org/21953003/diff/38001/media/filters/ffmpeg_demuxer.cc File media/filters/ffmpeg_demuxer.cc (right): https://codereview.chromium.org/21953003/diff/38001/media/filters/ffmpeg_demuxer.cc#newcode590 media/filters/ffmpeg_demuxer.cc:590: AVCodecContext* audio_codec = audio_stream->codec; On 2013/08/05 21:20:41, DaleCurtis wrote: ...
7 years, 4 months ago (2013-08-05 21:58:36 UTC) #16
DaleCurtis
https://codereview.chromium.org/21953003/diff/43001/media/base/sample_format.cc File media/base/sample_format.cc (right): https://codereview.chromium.org/21953003/diff/43001/media/base/sample_format.cc#newcode35 media/base/sample_format.cc:35: return "UNKNOWN_SAMPLE_FORMAT"; Is this the style you want? Not ...
7 years, 4 months ago (2013-08-05 22:16:54 UTC) #17
Ty Overby
https://codereview.chromium.org/21953003/diff/43001/media/base/sample_format.cc File media/base/sample_format.cc (right): https://codereview.chromium.org/21953003/diff/43001/media/base/sample_format.cc#newcode35 media/base/sample_format.cc:35: return "UNKNOWN_SAMPLE_FORMAT"; On 2013/08/05 22:16:54, DaleCurtis wrote: > Is ...
7 years, 4 months ago (2013-08-05 22:23:29 UTC) #18
DaleCurtis
https://codereview.chromium.org/21953003/diff/49001/media/base/sample_format.cc File media/base/sample_format.cc (right): https://codereview.chromium.org/21953003/diff/49001/media/base/sample_format.cc#newcode35 media/base/sample_format.cc:35: return "Unknown Sample Format"; Lower case second word+ https://codereview.chromium.org/21953003/diff/49001/media/filters/ffmpeg_demuxer.cc ...
7 years, 4 months ago (2013-08-05 22:33:35 UTC) #19
Ty Overby
https://codereview.chromium.org/21953003/diff/49001/media/base/sample_format.cc File media/base/sample_format.cc (right): https://codereview.chromium.org/21953003/diff/49001/media/base/sample_format.cc#newcode35 media/base/sample_format.cc:35: return "Unknown Sample Format"; On 2013/08/05 22:33:35, DaleCurtis wrote: ...
7 years, 4 months ago (2013-08-05 22:37:44 UTC) #20
DaleCurtis
lgtm
7 years, 4 months ago (2013-08-05 22:52:41 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tyoverby@chromium.org/21953003/58001
7 years, 4 months ago (2013-08-05 23:09:09 UTC) #22
commit-bot: I haz the power
Step "update" is always a major failure. Look at the try server FAQ for more ...
7 years, 4 months ago (2013-08-05 23:28:37 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tyoverby@chromium.org/21953003/70001
7 years, 4 months ago (2013-08-06 00:12:14 UTC) #24
commit-bot: I haz the power
Step "update" is always a major failure. Look at the try server FAQ for more ...
7 years, 4 months ago (2013-08-06 00:33:38 UTC) #25
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tyoverby@chromium.org/21953003/80001
7 years, 4 months ago (2013-08-06 00:51:44 UTC) #26
commit-bot: I haz the power
Sorry for I got bad news for ya. Compile failed with a clobber build on ...
7 years, 4 months ago (2013-08-06 01:22:28 UTC) #27
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tyoverby@chromium.org/21953003/93001
7 years, 4 months ago (2013-08-06 16:49:46 UTC) #28
commit-bot: I haz the power
Sorry for I got bad news for ya. Compile failed with a clobber build on ...
7 years, 4 months ago (2013-08-06 17:22:59 UTC) #29
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tyoverby@chromium.org/21953003/110001
7 years, 4 months ago (2013-08-06 17:28:04 UTC) #30
commit-bot: I haz the power
Change committed as 215982
7 years, 4 months ago (2013-08-06 21:30:32 UTC) #31
scherkus (not reviewing)
7 years, 4 months ago (2013-08-12 21:55:37 UTC) #32
Message was sent while issue was closed.
On 2013/08/06 21:30:32, I haz the power (commit-bot) wrote:
> Change committed as 215982

Nice CL -- thanks for reviewing while I was OOO.

Powered by Google App Engine
This is Rietveld 408576698