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

Unified Diff: media/filters/ffmpeg_video_decoder.h

Issue 2815303006: Convert MediaLog from being ref counted to owned by WebMediaPlayer. (Closed)
Patch Set: Rebase. Created 3 years, 8 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
« no previous file with comments | « media/filters/ffmpeg_demuxer_unittest.cc ('k') | media/filters/ffmpeg_video_decoder.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/filters/ffmpeg_video_decoder.h
diff --git a/media/filters/ffmpeg_video_decoder.h b/media/filters/ffmpeg_video_decoder.h
index 0c107f651cb97c4b97e6a2abe2767f7d3a30396d..7737e4b8c36c311e975fa6361e7ad765ae851071 100644
--- a/media/filters/ffmpeg_video_decoder.h
+++ b/media/filters/ffmpeg_video_decoder.h
@@ -29,7 +29,7 @@ class MEDIA_EXPORT FFmpegVideoDecoder : public VideoDecoder {
public:
static bool IsCodecSupported(VideoCodec codec);
- explicit FFmpegVideoDecoder(scoped_refptr<MediaLog> media_log);
+ explicit FFmpegVideoDecoder(MediaLog* media_log);
~FFmpegVideoDecoder() override;
// Allow decoding of individual NALU. Entire frames are required by default.
@@ -75,7 +75,7 @@ class MEDIA_EXPORT FFmpegVideoDecoder : public VideoDecoder {
void ReleaseFFmpegResources();
base::ThreadChecker thread_checker_;
- scoped_refptr<MediaLog> media_log_;
+ MediaLog* media_log_;
DecoderState state_;
« no previous file with comments | « media/filters/ffmpeg_demuxer_unittest.cc ('k') | media/filters/ffmpeg_video_decoder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698