Add member VideoEncoderConfig::SdpVideoFormat.

In preparation for moving creation of encoders to VideoStreamEncoder;
then this field is needed for calling
VideoEncoderFactory::CreateVideoEncoder.

Bug: webrtc:8830
Change-Id: Ie107a93596e22a5e7b9a9147bd85a93cf84b15a3
Reviewed-on: https://webrtc-review.googlesource.com/70221
Reviewed-by: Erik Språng <sprang@webrtc.org>
Commit-Queue: Niels Moller <nisse@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#22894}
diff --git a/call/video_config.cc b/call/video_config.cc
index 3010cdf..6d7c226 100644
--- a/call/video_config.cc
+++ b/call/video_config.cc
@@ -48,6 +48,7 @@
 
 VideoEncoderConfig::VideoEncoderConfig()
     : codec_type(kVideoCodecUnknown),
+      video_format("Unset"),
       content_type(ContentType::kRealtimeVideo),
       encoder_specific_settings(nullptr),
       min_transmit_bitrate_bps(0),
diff --git a/call/video_config.h b/call/video_config.h
index 162d833..93f9562 100644
--- a/call/video_config.h
+++ b/call/video_config.h
@@ -15,6 +15,7 @@
 #include <vector>
 
 #include "api/optional.h"
+#include "api/video_codecs/sdp_video_format.h"
 #include "common_types.h"  // NOLINT(build/include)
 #include "rtc_base/basictypes.h"
 #include "rtc_base/refcount.h"
@@ -126,7 +127,10 @@
   ~VideoEncoderConfig();
   std::string ToString() const;
 
+  // TODO(nisse): Consolidate on one of these.
   VideoCodecType codec_type;
+  SdpVideoFormat video_format;
+
   rtc::scoped_refptr<VideoStreamFactoryInterface> video_stream_factory;
   std::vector<SpatialLayer> spatial_layers;
   ContentType content_type;