| Index: media/filters/stream_parser_factory.h
|
| diff --git a/media/filters/stream_parser_factory.h b/media/filters/stream_parser_factory.h
|
| index 1f9ad347d12e214dd7fa2730d7acfa2b205b75c8..3bbd58ab9bec2adb4585c0f21527e1c5da7630bb 100644
|
| --- a/media/filters/stream_parser_factory.h
|
| +++ b/media/filters/stream_parser_factory.h
|
| @@ -24,8 +24,8 @@ class MEDIA_EXPORT StreamParserFactory {
|
| const std::string& type, const std::vector<std::string>& codecs);
|
|
|
| // Creates a new StreamParser object if the specified |type| and |codecs| list
|
| - // are supported. |log_cb| can be used to report errors if there is something
|
| - // wrong with |type| or the codec IDs in |codecs|.
|
| + // are supported. |media_log| can be used to report errors if there is
|
| + // something wrong with |type| or the codec IDs in |codecs|.
|
| // Returns a new StreamParser object if |type| and all codecs listed in
|
| // |codecs| are supported.
|
| // |has_audio| is true if an audio codec was specified.
|
| @@ -33,8 +33,11 @@ class MEDIA_EXPORT StreamParserFactory {
|
| // Returns NULL otherwise. The values of |has_audio| and |has_video| are
|
| // undefined.
|
| static scoped_ptr<StreamParser> Create(
|
| - const std::string& type, const std::vector<std::string>& codecs,
|
| - const LogCB& log_cb, bool* has_audio, bool* has_video);
|
| + const std::string& type,
|
| + const std::vector<std::string>& codecs,
|
| + const scoped_refptr<MediaLog>& media_log,
|
| + bool* has_audio,
|
| + bool* has_video);
|
| };
|
|
|
| } // namespace media
|
|
|