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

Unified Diff: webrtc/media/engine/webrtcvideodecoderfactory.h

Issue 2052233002: Enable passing receive stream ID to the decoder factory. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Changes according to pthatcher1's comments Created 4 years, 6 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 side-by-side diff with in-line comments
Download patch
Index: webrtc/media/engine/webrtcvideodecoderfactory.h
diff --git a/webrtc/media/engine/webrtcvideodecoderfactory.h b/webrtc/media/engine/webrtcvideodecoderfactory.h
index c739096ac5c190671432b3259033ceff11489455..9f91e563fb21da4bbf81a048ae832fdb0d2f156f 100644
--- a/webrtc/media/engine/webrtcvideodecoderfactory.h
+++ b/webrtc/media/engine/webrtcvideodecoderfactory.h
@@ -20,12 +20,20 @@ class VideoDecoder;
namespace cricket {
+struct VideoDecoderParams {
+ std::string receive_stream_id;
+};
+
class WebRtcVideoDecoderFactory {
public:
// Caller takes the ownership of the returned object and it should be released
// by calling DestroyVideoDecoder().
virtual webrtc::VideoDecoder* CreateVideoDecoder(
webrtc::VideoCodecType type) = 0;
+ virtual webrtc::VideoDecoder* CreateVideoDecoderWithParams(
sakal 2016/06/16 09:33:59 I had to change the name because otherwise decoder
+ webrtc::VideoCodecType type, VideoDecoderParams params) {
+ return CreateVideoDecoder(type);
+ }
virtual ~WebRtcVideoDecoderFactory() {}
virtual void DestroyVideoDecoder(webrtc::VideoDecoder* decoder) = 0;

Powered by Google App Engine
This is Rietveld 408576698