|
Handle end of stream for media
When FFmpegDemuxer failed to decode a raw packet, the signal of
end of stream should bubble up to the renderers. It is done in
this CL by creating fake buffers.
This change also fixes a bug with video of only 1 frame.
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=17656
Total comments: 4
Total comments: 9
Total comments: 32
Total comments: 8
Total comments: 12
Total comments: 2
Total comments: 2
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+131 lines, -58 lines) |
Patch |
 |
M |
media/base/buffers.h
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
6 chunks |
+11 lines, -12 lines |
0 comments
|
Download
|
 |
M |
media/base/data_buffer_unittest.cc
|
View
|
10
11
|
2 chunks |
+3 lines, -5 lines |
0 comments
|
Download
|
 |
M |
media/base/mock_media_filters.h
|
View
|
10
11
|
1 chunk |
+4 lines, -3 lines |
0 comments
|
Download
|
 |
M |
media/base/pipeline.h
|
View
|
10
11
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
media/base/video_frame_impl.h
|
View
|
7
8
9
10
11
|
1 chunk |
+5 lines, -0 lines |
0 comments
|
Download
|
 |
M |
media/base/video_frame_impl.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
3 chunks |
+11 lines, -0 lines |
0 comments
|
Download
|
 |
M |
media/base/video_frame_impl_unittest.cc
|
View
|
10
11
|
2 chunks |
+4 lines, -3 lines |
0 comments
|
Download
|
 |
M |
media/filters/audio_renderer_base.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
11
12
13
|
1 chunk |
+16 lines, -8 lines |
0 comments
|
Download
|
 |
M |
media/filters/ffmpeg_audio_decoder.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
2 chunks |
+17 lines, -4 lines |
0 comments
|
Download
|
 |
M |
media/filters/ffmpeg_demuxer.h
|
View
|
1
2
3
4
5
6
7
8
9
10
11
12
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
 |
M |
media/filters/ffmpeg_demuxer.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
11
12
|
3 chunks |
+12 lines, -4 lines |
0 comments
|
Download
|
 |
M |
media/filters/ffmpeg_demuxer_unittest.cc
|
View
|
10
11
12
13
14
|
1 chunk |
+4 lines, -3 lines |
0 comments
|
Download
|
 |
M |
media/filters/ffmpeg_video_decoder.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
2 chunks |
+18 lines, -7 lines |
0 comments
|
Download
|
 |
M |
media/filters/video_renderer_base.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
1 chunk |
+4 lines, -1 line |
0 comments
|
Download
|
 |
M |
media/filters/video_thread.cc
|
View
|
3
4
5
6
7
8
9
10
11
12
13
14
|
2 chunks |
+18 lines, -8 lines |
2 comments
|
Download
|
Total messages: 15 (0 generated)
|