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

Issue 120693002: Fix- WebMediaPlayerAndroid::hasAudio() to query status of audio and return actual value (Closed)

Created:
7 years ago by amogh.bihani
Modified:
6 years, 11 months ago
Reviewers:
vivekg, bulach, qinmin
CC:
chromium-reviews, fischman+watch_chromium.org, jam, mcasas+watch_chromium.org, joi+watch-content_chromium.org, feature-media-reviews_chromium.org, darin-cc_chromium.org, wjia+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

getting status of audio and returning value, avoiding false negative Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=243900

Patch Set 1 #

Patch Set 2 : Fixed presubmit check warnings #

Total comments: 2

Patch Set 3 : rectifying the typo in comparision #

Total comments: 1

Patch Set 4 : recognizing video mime types for audio #

Total comments: 2

Patch Set 5 : adding {} to if statement #

Unified diffs Side-by-side diffs Delta from patch set Stats (+12 lines, -2 lines) Patch
M content/renderer/media/android/webmediaplayer_android.cc View 1 2 3 4 1 chunk +12 lines, -2 lines 0 comments Download

Messages

Total messages: 13 (0 generated)
amogh.bihani
Kindly review.
7 years ago (2013-12-23 10:56:55 UTC) #1
vivekg
https://codereview.chromium.org/120693002/diff/30001/content/renderer/media/android/webmediaplayer_android.cc File content/renderer/media/android/webmediaplayer_android.cc (right): https://codereview.chromium.org/120693002/diff/30001/content/renderer/media/android/webmediaplayer_android.cc#newcode449 content/renderer/media/android/webmediaplayer_android.cc:449: return mime.find("audio/") == std::string::npos; This change looks suspicious to ...
7 years ago (2013-12-23 11:51:11 UTC) #2
vivekg
https://codereview.chromium.org/120693002/diff/30001/content/renderer/media/android/webmediaplayer_android.cc File content/renderer/media/android/webmediaplayer_android.cc (right): https://codereview.chromium.org/120693002/diff/30001/content/renderer/media/android/webmediaplayer_android.cc#newcode439 content/renderer/media/android/webmediaplayer_android.cc:439: return mime.find("audio/") == std::string::npos; Would it make sense to ...
7 years ago (2013-12-23 12:00:21 UTC) #3
amogh.bihani
Ping!
6 years, 11 months ago (2014-01-06 14:38:34 UTC) #4
qinmin
not lgtm https://codereview.chromium.org/120693002/diff/80001/content/renderer/media/android/webmediaplayer_android.cc File content/renderer/media/android/webmediaplayer_android.cc (right): https://codereview.chromium.org/120693002/diff/80001/content/renderer/media/android/webmediaplayer_android.cc#newcode449 content/renderer/media/android/webmediaplayer_android.cc:449: return mime.find("audio/") != std::string::npos; I don't think ...
6 years, 11 months ago (2014-01-06 18:23:49 UTC) #5
amogh.bihani
Thanks for the review. :) I have now considered 'video/*' and 'application/ogg' as well for ...
6 years, 11 months ago (2014-01-07 09:17:41 UTC) #6
qinmin
lgtm https://codereview.chromium.org/120693002/diff/130001/content/renderer/media/android/webmediaplayer_android.cc File content/renderer/media/android/webmediaplayer_android.cc (right): https://codereview.chromium.org/120693002/diff/130001/content/renderer/media/android/webmediaplayer_android.cc#newcode452 content/renderer/media/android/webmediaplayer_android.cc:452: mime.find("application/ogg") != std::string::npos) nit: {} is needed for ...
6 years, 11 months ago (2014-01-08 20:09:20 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/amogh.bihani@samsung.com/120693002/180001
6 years, 11 months ago (2014-01-09 03:40:35 UTC) #8
amogh.bihani
Thanks for the review :)
6 years, 11 months ago (2014-01-09 03:42:36 UTC) #9
amogh.bihani
https://codereview.chromium.org/120693002/diff/130001/content/renderer/media/android/webmediaplayer_android.cc File content/renderer/media/android/webmediaplayer_android.cc (right): https://codereview.chromium.org/120693002/diff/130001/content/renderer/media/android/webmediaplayer_android.cc#newcode452 content/renderer/media/android/webmediaplayer_android.cc:452: mime.find("application/ogg") != std::string::npos) On 2014/01/08 20:09:20, qinmin wrote: > ...
6 years, 11 months ago (2014-01-09 03:43:41 UTC) #10
commit-bot: I haz the power
Retried try job too often on win_rel for step(s) browser_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win_rel&number=243925
6 years, 11 months ago (2014-01-09 05:54:31 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/amogh.bihani@samsung.com/120693002/180001
6 years, 11 months ago (2014-01-09 11:57:06 UTC) #12
commit-bot: I haz the power
6 years, 11 months ago (2014-01-09 14:45:55 UTC) #13
Message was sent while issue was closed.
Change committed as 243900

Powered by Google App Engine
This is Rietveld 408576698