| OLD | NEW |
| 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/chunk_demuxer.h" | 5 #include "media/filters/chunk_demuxer.h" |
| 6 | 6 |
| 7 #include <algorithm> | 7 #include <algorithm> |
| 8 #include <limits> | 8 #include <limits> |
| 9 #include <list> | 9 #include <list> |
| 10 | 10 |
| (...skipping 644 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 655 success &= false; | 655 success &= false; |
| 656 MEDIA_LOG(log_cb_) << "New text track config for track ID " | 656 MEDIA_LOG(log_cb_) << "New text track config for track ID " |
| 657 << config_itr->first | 657 << config_itr->first |
| 658 << " does not match old one."; | 658 << " does not match old one."; |
| 659 break; | 659 break; |
| 660 } | 660 } |
| 661 } | 661 } |
| 662 } | 662 } |
| 663 } | 663 } |
| 664 | 664 |
| 665 frame_processor_->SetAllTrackBuffersNeedRandomAccessPoint(); |
| 666 |
| 665 DVLOG(1) << "OnNewConfigs() : " << (success ? "success" : "failed"); | 667 DVLOG(1) << "OnNewConfigs() : " << (success ? "success" : "failed"); |
| 666 return success; | 668 return success; |
| 667 } | 669 } |
| 668 | 670 |
| 669 void SourceState::OnNewMediaSegment() { | 671 void SourceState::OnNewMediaSegment() { |
| 670 DVLOG(2) << "OnNewMediaSegment()"; | 672 DVLOG(2) << "OnNewMediaSegment()"; |
| 671 parsing_media_segment_ = true; | 673 parsing_media_segment_ = true; |
| 672 new_media_segment_ = true; | 674 new_media_segment_ = true; |
| 673 } | 675 } |
| 674 | 676 |
| (...skipping 1078 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1753 } | 1755 } |
| 1754 | 1756 |
| 1755 void ChunkDemuxer::ShutdownAllStreams() { | 1757 void ChunkDemuxer::ShutdownAllStreams() { |
| 1756 for (SourceStateMap::iterator itr = source_state_map_.begin(); | 1758 for (SourceStateMap::iterator itr = source_state_map_.begin(); |
| 1757 itr != source_state_map_.end(); ++itr) { | 1759 itr != source_state_map_.end(); ++itr) { |
| 1758 itr->second->Shutdown(); | 1760 itr->second->Shutdown(); |
| 1759 } | 1761 } |
| 1760 } | 1762 } |
| 1761 | 1763 |
| 1762 } // namespace media | 1764 } // namespace media |
| OLD | NEW |