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

Issue 160076: BufferedDataSource to support server without range request support... (Closed)

Created:
11 years, 5 months ago by Alpha Left Google
Modified:
9 years, 6 months ago
CC:
chromium-reviews_googlegroups.com, kylep, darin (slow to review), brettw, scherkus (not reviewing)
Visibility:
Public.

Description

BufferedDataSource to support server without range request support This patch will enable BufferedDataSource to support servers with no range request support. It will start a probe request of 1 byte size besides the regular request. If the server does not support range request, we will turn on the is_streamed flag of FFmpeg and will not do any seeking. BUG=17628 TEST=test_shell_tests --gtest_filter=BufferedDataSource.* Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=21999

Patch Set 1 #

Patch Set 2 : '' #

Total comments: 32

Patch Set 3 : '' #

Patch Set 4 : '' #

Patch Set 5 : '' #

Patch Set 6 : '' #

Total comments: 19

Patch Set 7 : '' #

Patch Set 8 : '' #

Total comments: 14

Patch Set 9 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+429 lines, -181 lines) Patch
M media/base/filter_host.h View 1 2 3 4 5 6 7 8 1 chunk +3 lines, -0 lines 0 comments Download
M media/base/filters.h View 1 2 3 4 5 6 7 8 1 chunk +3 lines, -2 lines 0 comments Download
M media/base/mock_filter_host.h View 1 2 3 4 5 6 7 8 1 chunk +1 line, -0 lines 0 comments Download
M media/base/mock_filters.h View 1 2 3 4 5 6 7 8 1 chunk +1 line, -1 line 0 comments Download
M media/base/pipeline.h View 1 chunk +4 lines, -0 lines 0 comments Download
M media/base/pipeline_impl.h View 1 2 3 4 5 6 7 8 3 chunks +6 lines, -0 lines 0 comments Download
M media/base/pipeline_impl.cc View 1 2 3 4 5 6 7 8 3 chunks +12 lines, -0 lines 0 comments Download
M media/filters/ffmpeg_demuxer.h View 7 8 1 chunk +1 line, -1 line 0 comments Download
M media/filters/ffmpeg_demuxer.cc View 1 2 3 4 5 6 7 8 1 chunk +4 lines, -2 lines 0 comments Download
M media/filters/ffmpeg_demuxer_unittest.cc View 7 8 1 chunk +4 lines, -2 lines 0 comments Download
M media/filters/ffmpeg_glue.h View 7 8 1 chunk +1 line, -1 line 0 comments Download
M media/filters/ffmpeg_glue.cc View 7 8 1 chunk +1 line, -1 line 0 comments Download
media/filters/ffmpeg_glue_unittest.cc View 7 8 3 chunks +4 lines, -4 lines 0 comments Download
M media/filters/file_data_source.h View 1 2 3 4 5 6 7 8 1 chunk +1 line, -1 line 0 comments Download
M media/filters/file_data_source.cc View 1 2 3 4 5 6 7 8 1 chunk +2 lines, -3 lines 0 comments Download
M webkit/api/public/WebMediaPlayer.h View 3 4 5 6 7 8 2 chunks +10 lines, -0 lines 0 comments Download
M webkit/api/src/WebMediaPlayerClientImpl.h View 3 4 5 6 7 8 1 chunk +2 lines, -0 lines 0 comments Download
M webkit/api/src/WebMediaPlayerClientImpl.cpp View 3 4 5 6 7 8 1 chunk +28 lines, -0 lines 0 comments Download
M webkit/glue/media/buffered_data_source.h View 1 2 3 4 5 6 7 8 8 chunks +53 lines, -13 lines 0 comments Download
M webkit/glue/media/buffered_data_source.cc View 1 2 3 4 5 6 7 8 18 chunks +142 lines, -101 lines 0 comments Download
M webkit/glue/media/buffered_data_source_unittest.cc View 1 2 3 4 5 6 7 8 14 chunks +115 lines, -36 lines 0 comments Download
M webkit/glue/media/simple_data_source.h View 1 2 3 4 5 6 7 8 1 chunk +1 line, -1 line 0 comments Download
M webkit/glue/media/simple_data_source.cc View 1 2 3 4 5 6 7 8 1 chunk +2 lines, -2 lines 0 comments Download
M webkit/glue/webmediaplayer_impl.h View 3 4 5 6 7 8 1 chunk +3 lines, -0 lines 0 comments Download
M webkit/glue/webmediaplayer_impl.cc View 1 2 3 4 5 6 7 8 4 chunks +25 lines, -10 lines 0 comments Download

Messages

Total messages: 16 (0 generated)
Alpha Left Google
11 years, 5 months ago (2009-07-24 00:47:13 UTC) #1
scherkus (not reviewing)
initial pass, more to come http://codereview.chromium.org/160076/diff/22/1033 File media/base/filter_host.h (right): http://codereview.chromium.org/160076/diff/22/1033#newcode56 Line 56: virtual void SetSeekable(bool ...
11 years, 5 months ago (2009-07-24 03:43:44 UTC) #2
Alpha Left Google
http://codereview.chromium.org/160076/diff/22/1033 File media/base/filter_host.h (right): http://codereview.chromium.org/160076/diff/22/1033#newcode56 Line 56: virtual void SetSeekable(bool seekable) = 0; On 2009/07/24 ...
11 years, 5 months ago (2009-07-24 21:11:09 UTC) #3
fbarchard
seems okay to me. Will this change allow ftp to work as well?
11 years, 5 months ago (2009-07-24 21:48:51 UTC) #4
hclam
I disallowed FTP for now. If it is interesting I can enable FTP in another ...
11 years, 5 months ago (2009-07-24 21:58:23 UTC) #5
fbarchard1
ya I know and that makes sense. But I'm just asking, is this enough that ...
11 years, 5 months ago (2009-07-24 22:01:59 UTC) #6
hclam
Correct, but this mode is very restricted: 1. No seeking 2. Connection timeout or closed ...
11 years, 5 months ago (2009-07-24 22:08:17 UTC) #7
scherkus (not reviewing)
I wouldn't worry about FTP. Bigger fish to fry :) On Fri, Jul 24, 2009 ...
11 years, 5 months ago (2009-07-24 22:16:29 UTC) #8
fbarchard1
So this passes thru to ffmpeg isstreamed eh.Thats got 2 bugs if you play an ...
11 years, 5 months ago (2009-07-24 22:55:31 UTC) #9
awong
couple of comments regarding naming. seems sane. I need to give the buffer code one ...
11 years, 5 months ago (2009-07-27 21:44:42 UTC) #10
Alpha Left Google
http://codereview.chromium.org/160076/diff/1086/1093 File media/base/filters.h (right): http://codereview.chromium.org/160076/diff/1086/1093#newcode160 Line 160: virtual bool IsStreamed() = 0; On 2009/07/27 21:44:42, ...
11 years, 4 months ago (2009-07-28 20:44:52 UTC) #11
fbarchard
There are bugs in mp4 and ogg with isstreamed and it would be good to ...
11 years, 4 months ago (2009-07-28 20:55:57 UTC) #12
Alpha Left Google
On 2009/07/28 20:55:57, fbarchard wrote: > There are bugs in mp4 and ogg with isstreamed ...
11 years, 4 months ago (2009-07-28 21:11:21 UTC) #13
scherkus (not reviewing)
http://codereview.chromium.org/160076/diff/183/1135 File media/base/pipeline_impl.h (right): http://codereview.chromium.org/160076/diff/183/1135#newcode83 Line 83: virtual bool IsStreaming() const; this method isn't part ...
11 years, 4 months ago (2009-07-29 18:37:27 UTC) #14
Alpha Left Google
http://codereview.chromium.org/160076/diff/183/1135 File media/base/pipeline_impl.h (right): http://codereview.chromium.org/160076/diff/183/1135#newcode83 Line 83: virtual bool IsStreaming() const; On 2009/07/29 18:37:27, scherkus ...
11 years, 4 months ago (2009-07-29 19:24:07 UTC) #15
scherkus (not reviewing)
11 years, 4 months ago (2009-07-29 20:24:44 UTC) #16
LGTM from my side

Powered by Google App Engine
This is Rietveld 408576698