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

Side by Side Diff: media/formats/webm/opus_packet_builder.cc

Issue 1544313002: Convert Pass()→std::move() in //media (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 12 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/formats/webm/cluster_builder.cc ('k') | media/formats/webm/webm_cluster_parser.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) 2015 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2015 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 "base/logging.h" 5 #include "base/logging.h"
6 #include "media/formats/webm/opus_packet_builder.h" 6 #include "media/formats/webm/opus_packet_builder.h"
7 #include "media/formats/webm/webm_cluster_parser.h" 7 #include "media/formats/webm/webm_cluster_parser.h"
8 8
9 namespace media { 9 namespace media {
10 10
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
76 if (frame_count >= 2) { 76 if (frame_count >= 2) {
77 // Add another packet with VBR flag toggled. For frame counts >= 2, 77 // Add another packet with VBR flag toggled. For frame counts >= 2,
78 // VBR triggers changes to packet framing. 78 // VBR triggers changes to packet framing.
79 is_VBR = true; 79 is_VBR = true;
80 opus_packets.push_back( 80 opus_packets.push_back(
81 new OpusPacket(opus_config_num, frame_count, is_VBR)); 81 new OpusPacket(opus_config_num, frame_count, is_VBR));
82 } 82 }
83 } 83 }
84 } 84 }
85 85
86 return opus_packets.Pass(); 86 return opus_packets;
87 } 87 }
88 88
89 } // namespace media 89 } // namespace media
OLDNEW
« no previous file with comments | « media/formats/webm/cluster_builder.cc ('k') | media/formats/webm/webm_cluster_parser.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698