Run clang-format over MediaHandler

Ran clang-format over media_handler.cc and media_handler.h so that
later changes won't update the formatting as much.

Change-Id: I2db4f9f4e8a66fca1e1418ab99b283a0e4a70e4c
This commit is contained in:
Aaron Vaage 2018-06-20 16:19:31 -07:00
parent 0efc7612ed
commit eb2385491c
1 changed files with 8 additions and 4 deletions

View File

@ -76,7 +76,8 @@ struct StreamData {
std::shared_ptr<const CueEvent> cue_event; std::shared_ptr<const CueEvent> cue_event;
static std::unique_ptr<StreamData> FromStreamInfo( static std::unique_ptr<StreamData> FromStreamInfo(
size_t stream_index, std::shared_ptr<const StreamInfo> stream_info) { size_t stream_index,
std::shared_ptr<const StreamInfo> stream_info) {
std::unique_ptr<StreamData> stream_data(new StreamData); std::unique_ptr<StreamData> stream_data(new StreamData);
stream_data->stream_index = stream_index; stream_data->stream_index = stream_index;
stream_data->stream_data_type = StreamDataType::kStreamInfo; stream_data->stream_data_type = StreamDataType::kStreamInfo;
@ -85,7 +86,8 @@ struct StreamData {
} }
static std::unique_ptr<StreamData> FromMediaSample( static std::unique_ptr<StreamData> FromMediaSample(
size_t stream_index, std::shared_ptr<const MediaSample> media_sample) { size_t stream_index,
std::shared_ptr<const MediaSample> media_sample) {
std::unique_ptr<StreamData> stream_data(new StreamData); std::unique_ptr<StreamData> stream_data(new StreamData);
stream_data->stream_index = stream_index; stream_data->stream_index = stream_index;
stream_data->stream_data_type = StreamDataType::kMediaSample; stream_data->stream_data_type = StreamDataType::kMediaSample;
@ -94,7 +96,8 @@ struct StreamData {
} }
static std::unique_ptr<StreamData> FromTextSample( static std::unique_ptr<StreamData> FromTextSample(
size_t stream_index, std::shared_ptr<const TextSample> text_sample) { size_t stream_index,
std::shared_ptr<const TextSample> text_sample) {
std::unique_ptr<StreamData> stream_data(new StreamData); std::unique_ptr<StreamData> stream_data(new StreamData);
stream_data->stream_index = stream_index; stream_data->stream_index = stream_index;
stream_data->stream_data_type = StreamDataType::kTextSample; stream_data->stream_data_type = StreamDataType::kTextSample;
@ -103,7 +106,8 @@ struct StreamData {
} }
static std::unique_ptr<StreamData> FromSegmentInfo( static std::unique_ptr<StreamData> FromSegmentInfo(
size_t stream_index, std::shared_ptr<const SegmentInfo> segment_info) { size_t stream_index,
std::shared_ptr<const SegmentInfo> segment_info) {
std::unique_ptr<StreamData> stream_data(new StreamData); std::unique_ptr<StreamData> stream_data(new StreamData);
stream_data->stream_index = stream_index; stream_data->stream_index = stream_index;
stream_data->stream_data_type = StreamDataType::kSegmentInfo; stream_data->stream_data_type = StreamDataType::kSegmentInfo;