File tree 2 files changed +0
-7
lines changed 2 files changed +0
-7
lines changed Original file line number Diff line number Diff line change @@ -39,9 +39,6 @@ source_set("starboard") {
39
39
# TODO(b/326654546): Revisit max video input size
40
40
" COBALT_MEDIA_ENABLE_PLAYER_SET_MAX_VIDEO_INPUT_SIZE=0" ,
41
41
42
- # TODO(b/375059645): Revisit side data (aka hdr10+) support
43
- " COBALT_MEDIA_ENABLE_SIDE_DATA=0" ,
44
-
45
42
# TODO(b/375234428): Revisit startup latency tracking
46
43
" COBALT_MEDIA_ENABLE_STARTUP_LATENCY_TRACKING=0" ,
47
44
Original file line number Diff line number Diff line change @@ -940,18 +940,15 @@ void SbPlayerBridge::WriteBuffersInternal(
940
940
941
941
gathered_sbplayer_sample_infos_side_data.push_back (
942
942
SbPlayerSampleSideData ());
943
- #if COBALT_MEDIA_ENABLE_SIDE_DATA
944
943
SbPlayerSampleSideData* side_data =
945
944
&gathered_sbplayer_sample_infos_side_data[i];
946
- #endif // COBALT_MEDIA_ENABLE_SIDE_DATA
947
945
948
946
PlayerSampleInfo sample_info = {};
949
947
sample_info.type = sample_type;
950
948
sample_info.buffer = buffer->data ();
951
949
sample_info.buffer_size = buffer->data_size ();
952
950
sample_info.timestamp = buffer->timestamp ().InMicroseconds ();
953
951
954
- #if COBALT_MEDIA_ENABLE_SIDE_DATA
955
952
if (buffer->side_data_size () > 0 ) {
956
953
// We only support at most one side data currently.
957
954
side_data->type = kMatroskaBlockAdditional ;
@@ -960,7 +957,6 @@ void SbPlayerBridge::WriteBuffersInternal(
960
957
sample_info.side_data = side_data;
961
958
sample_info.side_data_count = 1 ;
962
959
}
963
- #endif // COBALT_MEDIA_ENABLE_SIDE_DATA
964
960
965
961
if (sample_type == kSbMediaTypeAudio ) {
966
962
DCHECK (audio_stream_info);
You can’t perform that action at this time.
0 commit comments