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

Unified Diff: media/base/audio_decoder_config.h

Issue 743483002: Emit Media Source codec names as media_log events. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix missed call to ChunkDemuxer constructor. Created 6 years, 1 month 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: media/base/audio_decoder_config.h
diff --git a/media/base/audio_decoder_config.h b/media/base/audio_decoder_config.h
index c8c7b47d23dd795f2a952e8b45db5b81eb211223..3bfde32b193b2ccacf1856ba63ea73ded99b8cfb 100644
--- a/media/base/audio_decoder_config.h
+++ b/media/base/audio_decoder_config.h
@@ -45,6 +45,8 @@ enum AudioCodec {
kAudioCodecMax = kCodecPCM_ALAW,
};
+const char* AudioCodecName(AudioCodec audio_codec, SampleFormat sample_format);
DaleCurtis 2014/11/19 00:01:56 Instead of adding it like this, how about having a
watk 2014/11/19 19:18:09 Done.
+
// TODO(dalecurtis): FFmpeg API uses |bytes_per_channel| instead of
// |bits_per_channel|, we should switch over since bits are generally confusing
// to work with.

Powered by Google App Engine
This is Rietveld 408576698