| OLD | NEW | 
|    1 /* |    1 /* | 
|    2  *  Copyright (c) 2012 The WebRTC project authors. All Rights Reserved. |    2  *  Copyright (c) 2012 The WebRTC project authors. All Rights Reserved. | 
|    3  * |    3  * | 
|    4  *  Use of this source code is governed by a BSD-style license |    4  *  Use of this source code is governed by a BSD-style license | 
|    5  *  that can be found in the LICENSE file in the root of the source |    5  *  that can be found in the LICENSE file in the root of the source | 
|    6  *  tree. An additional intellectual property rights grant can be found |    6  *  tree. An additional intellectual property rights grant can be found | 
|    7  *  in the file PATENTS.  All contributing project authors may |    7  *  in the file PATENTS.  All contributing project authors may | 
|    8  *  be found in the AUTHORS file in the root of the source tree. |    8  *  be found in the AUTHORS file in the root of the source tree. | 
|    9  */ |    9  */ | 
|   10  |   10  | 
| (...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  104   return kVideoPayloadTypeFrequency; |  104   return kVideoPayloadTypeFrequency; | 
|  105 } |  105 } | 
|  106  |  106  | 
|  107 RTPAliveType RTPReceiverVideo::ProcessDeadOrAlive( |  107 RTPAliveType RTPReceiverVideo::ProcessDeadOrAlive( | 
|  108     uint16_t last_payload_length) const { |  108     uint16_t last_payload_length) const { | 
|  109   return kRtpDead; |  109   return kRtpDead; | 
|  110 } |  110 } | 
|  111  |  111  | 
|  112 int32_t RTPReceiverVideo::InvokeOnInitializeDecoder( |  112 int32_t RTPReceiverVideo::InvokeOnInitializeDecoder( | 
|  113     RtpFeedback* callback, |  113     RtpFeedback* callback, | 
|  114     int32_t id, |  | 
|  115     int8_t payload_type, |  114     int8_t payload_type, | 
|  116     const char payload_name[RTP_PAYLOAD_NAME_SIZE], |  115     const char payload_name[RTP_PAYLOAD_NAME_SIZE], | 
|  117     const PayloadUnion& specific_payload) const { |  116     const PayloadUnion& specific_payload) const { | 
|  118   // For video we just go with default values. |  117   // For video we just go with default values. | 
|  119   if (-1 == |  118   if (-1 == | 
|  120       callback->OnInitializeDecoder( |  119       callback->OnInitializeDecoder(payload_type, payload_name, | 
|  121           id, payload_type, payload_name, kVideoPayloadTypeFrequency, 1, 0)) { |  120                                     kVideoPayloadTypeFrequency, 1, 0)) { | 
|  122     LOG(LS_ERROR) << "Failed to created decoder for payload type: " |  121     LOG(LS_ERROR) << "Failed to created decoder for payload type: " | 
|  123                   << static_cast<int>(payload_type); |  122                   << static_cast<int>(payload_type); | 
|  124     return -1; |  123     return -1; | 
|  125   } |  124   } | 
|  126   return 0; |  125   return 0; | 
|  127 } |  126 } | 
|  128  |  127  | 
|  129 }  // namespace webrtc |  128 }  // namespace webrtc | 
| OLD | NEW |