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

Side by Side Diff: media/filters/ffmpeg_demuxer.cc

Issue 1133363002: Getting rid of duplicate includes from media/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « media/filters/ffmpeg_audio_decoder.cc ('k') | media/filters/ffmpeg_video_decoder.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "media/filters/ffmpeg_demuxer.h" 5 #include "media/filters/ffmpeg_demuxer.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 #include <string>
9 8
10 #include "base/base64.h" 9 #include "base/base64.h"
11 #include "base/bind.h" 10 #include "base/bind.h"
12 #include "base/callback.h"
13 #include "base/callback_helpers.h" 11 #include "base/callback_helpers.h"
14 #include "base/memory/scoped_ptr.h" 12 #include "base/memory/scoped_ptr.h"
15 #include "base/metrics/sparse_histogram.h" 13 #include "base/metrics/sparse_histogram.h"
16 #include "base/single_thread_task_runner.h" 14 #include "base/single_thread_task_runner.h"
17 #include "base/strings/string_number_conversions.h" 15 #include "base/strings/string_number_conversions.h"
18 #include "base/strings/string_util.h" 16 #include "base/strings/string_util.h"
19 #include "base/strings/stringprintf.h" 17 #include "base/strings/stringprintf.h"
20 #include "base/sys_byteorder.h" 18 #include "base/sys_byteorder.h"
21 #include "base/task_runner_util.h" 19 #include "base/task_runner_util.h"
22 #include "base/thread_task_runner_handle.h" 20 #include "base/thread_task_runner_handle.h"
23 #include "base/time/time.h" 21 #include "base/time/time.h"
24 #include "media/base/audio_decoder_config.h"
25 #include "media/base/bind_to_current_loop.h" 22 #include "media/base/bind_to_current_loop.h"
26 #include "media/base/decoder_buffer.h"
27 #include "media/base/decrypt_config.h" 23 #include "media/base/decrypt_config.h"
28 #include "media/base/limits.h" 24 #include "media/base/limits.h"
29 #include "media/base/media_log.h" 25 #include "media/base/media_log.h"
30 #include "media/base/video_decoder_config.h"
31 #include "media/ffmpeg/ffmpeg_common.h" 26 #include "media/ffmpeg/ffmpeg_common.h"
32 #include "media/filters/ffmpeg_aac_bitstream_converter.h" 27 #include "media/filters/ffmpeg_aac_bitstream_converter.h"
33 #include "media/filters/ffmpeg_bitstream_converter.h" 28 #include "media/filters/ffmpeg_bitstream_converter.h"
34 #include "media/filters/ffmpeg_glue.h" 29 #include "media/filters/ffmpeg_glue.h"
35 #include "media/filters/ffmpeg_h264_to_annex_b_bitstream_converter.h" 30 #include "media/filters/ffmpeg_h264_to_annex_b_bitstream_converter.h"
36 #include "media/filters/webvtt_util.h" 31 #include "media/filters/webvtt_util.h"
37 #include "media/formats/webm/webm_crypto_helpers.h" 32 #include "media/formats/webm/webm_crypto_helpers.h"
38 33
39 namespace media { 34 namespace media {
40 35
(...skipping 1254 matching lines...) Expand 10 before | Expand all | Expand 10 after
1295 1290
1296 void FFmpegDemuxer::SetLiveness(DemuxerStream::Liveness liveness) { 1291 void FFmpegDemuxer::SetLiveness(DemuxerStream::Liveness liveness) {
1297 DCHECK(task_runner_->BelongsToCurrentThread()); 1292 DCHECK(task_runner_->BelongsToCurrentThread());
1298 for (const auto& stream : streams_) { // |stream| is a ref to a pointer. 1293 for (const auto& stream : streams_) { // |stream| is a ref to a pointer.
1299 if (stream) 1294 if (stream)
1300 stream->SetLiveness(liveness); 1295 stream->SetLiveness(liveness);
1301 } 1296 }
1302 } 1297 }
1303 1298
1304 } // namespace media 1299 } // namespace media
OLDNEW
« no previous file with comments | « media/filters/ffmpeg_audio_decoder.cc ('k') | media/filters/ffmpeg_video_decoder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698