Closed
Bug 1266644
Opened 9 years ago
Closed 9 years ago
Rename StreamBuffers to StreamTracks.
Categories
(Core :: Audio/Video: MediaStreamGraph, defect, P2)
Core
Audio/Video: MediaStreamGraph
Tracking
()
RESOLVED
FIXED
mozilla49
Tracking | Status | |
---|---|---|
firefox49 | --- | fixed |
People
(Reporter: ctai, Assigned: ctai)
References
Details
Attachments
(9 files, 2 obsolete files)
72.69 KB,
patch
|
ctai
:
review+
|
Details | Diff | Splinter Review |
1.77 KB,
patch
|
ctai
:
review+
|
Details | Diff | Splinter Review |
2.36 KB,
patch
|
ctai
:
review+
|
Details | Diff | Splinter Review |
8.37 KB,
patch
|
ctai
:
review+
|
Details | Diff | Splinter Review |
2.26 KB,
patch
|
ctai
:
review+
padenot
:
review+
|
Details | Diff | Splinter Review |
932 bytes,
patch
|
ctai
:
review+
|
Details | Diff | Splinter Review |
17.12 KB,
patch
|
ctai
:
review+
|
Details | Diff | Splinter Review |
24.22 KB,
patch
|
Details | Diff | Splinter Review | |
722 bytes,
patch
|
Details | Diff | Splinter Review |
Once Bug 1201363 landed, there will no video buffer in MSG. Rename Bug 1201363 first.
Assignee | ||
Updated•9 years ago
|
Assignee: nobody → ctai
Assignee | ||
Comment 1•9 years ago
|
||
Carry r+ from pehrsons. See https://bugzilla.mozilla.org/show_bug.cgi?id=1201363#c87
Attachment #8744170 -
Flags: review+
Assignee | ||
Updated•9 years ago
|
Attachment #8744170 -
Flags: review?(rjesup)
Assignee | ||
Comment 2•9 years ago
|
||
Attachment #8744171 -
Flags: review?(rjesup)
Attachment #8744171 -
Flags: review?(pehrsons)
Assignee | ||
Comment 3•9 years ago
|
||
Simple refactor.
(In reply to Chia-hung Tai [:ctai :ctai_mozilla :cht] from comment #2)
> Created attachment 8744171 [details] [diff] [review]
> bug-1266644-2.diff
Comment 4•9 years ago
|
||
Comment on attachment 8744171 [details] [diff] [review]
bug-1266644-2.diff
Review of attachment 8744171 [details] [diff] [review]:
-----------------------------------------------------------------
Please divide these into smaller commits before landing. Feel free to carry forward my r+, modulo the inline comment below.
::: dom/media/MediaStreamGraphImpl.h
@@ +92,5 @@
> * be able to friend it.
> *
> + * There can be multiple MediaStreamGraph per process: one per AudioChannel.
> + * Additionaly, each OfflineAudioContext object creates its own MediaStreamGraph
> + * object too.
padenot should take a look at this.
Attachment #8744171 -
Flags: review?(pehrsons) → review+
Comment 5•9 years ago
|
||
Comment on attachment 8744170 [details] [diff] [review]
bug-1266644-1.diff
Review of attachment 8744170 [details] [diff] [review]:
-----------------------------------------------------------------
r+ but PLEASE instead of hg remove and hg add for StreamBuffer* -> StreamTrack*, use hg rename for each file. This keeps history across the rename.
Attachment #8744170 -
Flags: review?(rjesup) → review+
Updated•9 years ago
|
Attachment #8744171 -
Flags: review?(rjesup) → review+
Assignee | ||
Comment 6•9 years ago
|
||
Thanks for the reminder, but I did use hg rename for StreamBuffer* -> StreamTrack*.
roc already reminded me in his review(https://bugzilla.mozilla.org/show_bug.cgi?id=1201363#c56).
And I did that in previous patch. See https://reviewboard.mozilla.org/r/42457/diff/1#index_header
Also in the link of the detail of the attached patch, it shows
diff --git a/dom/media/StreamBuffer.cpp b/StreamTracks.cpp
rename from dom/media/StreamBuffer.cpp
rename to StreamTracks.cpp
diff --git a/dom/media/StreamBuffer.h b/StreamTracks.h
rename from dom/media/StreamBuffer.h
rename to StreamTracks.h
See https://bugzilla.mozilla.org/attachment.cgi?id=8744170&action=edit
I think that might be caused by the diff and review page of bugzilla won't reflect that but mozreview did.
Anyway, thanks for your review. :)
(In reply to Randell Jesup [:jesup] from comment #5)
> Comment on attachment 8744170 [details] [diff] [review]
> bug-1266644-1.diff
>
> Review of attachment 8744170 [details] [diff] [review]:
> -----------------------------------------------------------------
>
> r+ but PLEASE instead of hg remove and hg add for StreamBuffer* ->
> StreamTrack*, use hg rename for each file. This keeps history across the
> rename.
Assignee | ||
Comment 7•9 years ago
|
||
Assignee | ||
Comment 8•9 years ago
|
||
Carry r+
Attachment #8744170 -
Attachment is obsolete: true
Attachment #8744171 -
Attachment is obsolete: true
Attachment #8744798 -
Flags: review+
Assignee | ||
Comment 15•9 years ago
|
||
Comment on attachment 8744802 [details] [diff] [review]
bug-1266644-5.diff
Hi, Paul,
pehrsons suggest me that you might review these comments in comment 5. Thanks.
Attachment #8744802 -
Flags: review?(padenot)
Comment 16•9 years ago
|
||
Comment on attachment 8744802 [details] [diff] [review]
bug-1266644-5.diff
Review of attachment 8744802 [details] [diff] [review]:
-----------------------------------------------------------------
Yep, thanks for fixing this comment !
Attachment #8744802 -
Flags: review?(padenot) → review+
Assignee | ||
Updated•9 years ago
|
Keywords: checkin-needed
Updated•9 years ago
|
Rank: 25
Priority: -- → P2
Comment 17•9 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/fd16a818e34e
https://hg.mozilla.org/integration/mozilla-inbound/rev/eb0d98b53876
https://hg.mozilla.org/integration/mozilla-inbound/rev/41f21e3f7cbd
https://hg.mozilla.org/integration/mozilla-inbound/rev/5bbea4dc90c0
https://hg.mozilla.org/integration/mozilla-inbound/rev/8cdb01638397
https://hg.mozilla.org/integration/mozilla-inbound/rev/0ccb82588607
https://hg.mozilla.org/integration/mozilla-inbound/rev/5f43cfbd45ca
Keywords: checkin-needed
Comment 18•9 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/fd16a818e34e
https://hg.mozilla.org/mozilla-central/rev/eb0d98b53876
https://hg.mozilla.org/mozilla-central/rev/41f21e3f7cbd
https://hg.mozilla.org/mozilla-central/rev/5bbea4dc90c0
https://hg.mozilla.org/mozilla-central/rev/8cdb01638397
https://hg.mozilla.org/mozilla-central/rev/0ccb82588607
https://hg.mozilla.org/mozilla-central/rev/5f43cfbd45ca
Status: NEW → RESOLVED
Closed: 9 years ago
status-firefox49:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla49
Comment 19•9 years ago
|
||
ctai, did you mean to move StreamTracks.h/cpp into the root directory?
Flags: needinfo?(ctai)
Assignee | ||
Comment 20•9 years ago
|
||
Oh, no. May bad.
I would like to move to /dom/media/StreamTracks.cpp
Thanks for pointing out.
(In reply to Cameron McCormack (:heycam) from comment #19)
> ctai, did you mean to move StreamTracks.h/cpp into the root directory?
Flags: needinfo?(ctai)
Assignee | ||
Comment 21•9 years ago
|
||
Correct the hg history. Thanks for JW's help.
Assignee | ||
Comment 22•9 years ago
|
||
Comment 23•9 years ago
|
||
Comment 24•9 years ago
|
||
bugherder |
You need to log in
before you can comment on or make changes to this bug.
Description
•