Reland of Add H264 profile to webrtc::VideoCodecH264 and webrtc::VideoPayload (patchset #1 id:1 of https://codereview.webrtc.org/2529143002/ )
Reason for revert: Include fix; set profile information in CreatePayloadType for video. Original issue's description: > Revert of Add H264 profile to webrtc::VideoCodecH264 and webrtc::VideoPayload (patchset #1 id:40001 of https://codereview.webrtc.org/2525693003/ ) > > Reason for revert: > The CL doesn't actually set profile information in VideoPayload. > > Original issue's description: > > Add H264 profile to webrtc::VideoCodecH264 and webrtc::VideoPayload > > > > It's necessary to check H264 profile information as well as payload name > > in PayloadIsCompatible in RTPPayloadRegistry. > > > > BUG=webrtc:6743 > > > > Committed: https://crrev.com/bdbc4b7ef578ba1d61ceec351bc47c33da115329 > > Cr-Commit-Position: refs/heads/master@{#15248} > > TBR=mflodman@webrtc.org > # Skipping CQ checks because original CL landed less than 1 days ago. > NOPRESUBMIT=true > NOTREECHECKS=true > NOTRY=true > BUG=webrtc:6743 > > Committed: https://crrev.com/d7e6ccbc53fc24acdcc7507a6f3a155626473d54 > Cr-Commit-Position: refs/heads/master@{#15251} TBR=mflodman@webrtc.org # Skipping CQ checks because original CL landed less than 1 days ago. NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true BUG=webrtc:6743 Review-Url: https://codereview.webrtc.org/2529153002 Cr-Commit-Position: refs/heads/master@{#15252}
This commit is contained in:
@ -15,6 +15,7 @@
|
||||
#include <list>
|
||||
#include <vector>
|
||||
|
||||
#include "webrtc/common_types.h"
|
||||
#include "webrtc/modules/include/module_common_types.h"
|
||||
#include "webrtc/system_wrappers/include/clock.h"
|
||||
#include "webrtc/typedefs.h"
|
||||
@ -44,7 +45,9 @@ struct AudioPayload {
|
||||
};
|
||||
|
||||
struct VideoPayload {
|
||||
RtpVideoCodecTypes videoCodecType;
|
||||
RtpVideoCodecTypes videoCodecType;
|
||||
// The H264 profile only matters if videoCodecType == kRtpVideoH264.
|
||||
H264::Profile h264_profile;
|
||||
};
|
||||
|
||||
union PayloadUnion {
|
||||
|
||||
Reference in New Issue
Block a user