Index: talk/media/base/codec.h |
diff --git a/talk/media/base/codec.h b/talk/media/base/codec.h |
index ea6c5415dcedf9220532738c21d3d69438b1eff8..fcdb6ea512a34f9dcac88e3c71c1093278672a9f 100644 |
--- a/talk/media/base/codec.h |
+++ b/talk/media/base/codec.h |
@@ -131,7 +131,12 @@ struct AudioCodec : public Codec { |
int channels; |
// Creates a codec with the given parameters. |
- AudioCodec(int pt, const std::string& nm, int cr, int br, int cs, int pr); |
+ AudioCodec(int id, |
+ const std::string& name, |
+ int clockrate, |
+ int bitrate, |
+ int channels, |
+ int preference); |
// Creates an empty codec. |
AudioCodec(); |
AudioCodec(const AudioCodec& c); |
@@ -161,8 +166,13 @@ struct VideoCodec : public Codec { |
int framerate; |
// Creates a codec with the given parameters. |
- VideoCodec(int pt, const std::string& nm, int w, int h, int fr, int pr); |
- VideoCodec(int pt, const std::string& nm); |
+ VideoCodec(int id, |
+ const std::string& name, |
+ int width, |
+ int height, |
+ int framerate, |
+ int preference); |
+ VideoCodec(int id, const std::string& name); |
// Creates an empty codec. |
VideoCodec(); |
VideoCodec(const VideoCodec& c); |