Closed Bug 1428682 Opened 6 years ago Closed 6 years ago

OggDemuxer doesn't set MediaData::mOffset

Categories

(Core :: Audio/Video: Playback, defect, P3)

defect

Tracking

()

RESOLVED FIXED
mozilla59
Tracking Status
firefox59 --- fixed

People

(Reporter: jwwang, Assigned: jwwang)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

mOffset is important for MediaCache to evaluate the playback rate in bytes for a live stream. Failing to set this field (initially 0) will cause MediaCache to assume very low playback rate (in bytes) and not to download enough bytes for decoder to consume without underflow.

This issue is manifested by bug 1427527 where a live ogg stream is played.
Assignee: nobody → jwwang
Blocks: 1427527
Priority: -- → P3
Attachment #8940571 - Flags: review?(jyavenard)
Comment on attachment 8940571 [details]
Bug 1428682 - set MediaData::mOffset properly in OggDemuxer.

https://reviewboard.mozilla.org/r/210768/#review216572
Attachment #8940571 - Flags: review?(jyavenard) → review+
Comment on attachment 8940571 [details]
Bug 1428682 - set MediaData::mOffset properly in OggDemuxer.

https://reviewboard.mozilla.org/r/210768/#review216574

::: commit-message-2aed1:1
(Diff revision 1)
> +Bug 1428682 - OggDemuxer doesn't set MediaData::mOffset.

IIUC, the commit header should be about what is done, not summarize what the problem was
Comment on attachment 8940571 [details]
Bug 1428682 - set MediaData::mOffset properly in OggDemuxer.

https://reviewboard.mozilla.org/r/210768/#review216574

> IIUC, the commit header should be about what is done, not summarize what the problem was

https://wiki.mozilla.org/Bugzilla:Committing_Patches
"Note that the description given on the commit comment should describe what the patch actually does (in a broad sense), which may not necessarily match the summary of the bug being fixed. For example, of the summary of the bug is "Bugzilla doesn't do Foo", then your description in the commit comment should say something like "Make Bugzilla do Foo".

"
Thanks!
Pushed by jwwang@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/1249a196a5a0
set MediaData::mOffset properly in OggDemuxer. r=jya
https://hg.mozilla.org/mozilla-central/rev/1249a196a5a0
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla59
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: