Closed
Bug 874806
Opened 11 years ago
Closed 8 years ago
GStreamerReader::PlayBinSourceSetupCb() doesn't need to do a bogus read anymore
Categories
(Core :: Audio/Video: Playback, defect, P5)
Tracking
()
RESOLVED
WONTFIX
People
(Reporter: cpearce, Assigned: alessandro.d)
References
Details
Attachments
(1 file)
1.41 KB,
patch
|
cpearce
:
review+
|
Details | Diff | Splinter Review |
GStreamerReader::PlayBinSourceSetupCb() does a read of 512 bytes [1] in order to block until ChannelMediaResource::Listener::OnStartRequest() has run so that MediaResource::GetLength() returns something other than -1. But now that bug 872866 has landed, that shouldn't be necessary; MediaResource::GetLength() is now initialized much earlier from the original HTTPChannel's Content-Length header, if it has one. And if it doesn't have one then, it probably won't. We should investigate if we can safely remove this read. [1] http://mxr.mozilla.org/mozilla-central/source/content/media/gstreamer/GStreamerReader.cpp#202
Assignee | ||
Comment 1•10 years ago
|
||
I did some local testing and the length is now correctly returned without the bogus read. https://tbpl.mozilla.org/?tree=Try&rev=cb7365295b43
Attachment #8377324 -
Flags: review?(cpearce)
Reporter | ||
Updated•10 years ago
|
Attachment #8377324 -
Flags: review?(cpearce) → review+
Assignee | ||
Updated•10 years ago
|
Keywords: checkin-needed
Comment 2•10 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/183380b99514
Assignee: nobody → alessandro.d
Keywords: checkin-needed
Comment 3•10 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/183380b99514
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla30
Comment 4•10 years ago
|
||
Backed out for causing bug 974033. https://hg.mozilla.org/integration/mozilla-inbound/rev/26487075b6ec
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Target Milestone: mozilla30 → ---
Comment 5•10 years ago
|
||
Merge of backout: https://hg.mozilla.org/mozilla-central/rev/26487075b6ec
Updated•9 years ago
|
Component: Audio/Video → Audio/Video: Playback
Updated•9 years ago
|
Priority: -- → P5
Comment 6•8 years ago
|
||
gstreamer is going in bug 1234092
Status: REOPENED → RESOLVED
Closed: 10 years ago → 8 years ago
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•