File tree Expand file tree Collapse file tree 1 file changed +0
-14
lines changed
Expand file tree Collapse file tree 1 file changed +0
-14
lines changed Original file line number Diff line number Diff line change @@ -174,8 +174,6 @@ bool XmaContextNew::Work() {
174174 data.output_buffer_valid , data.subframe_decode_count ,
175175 data.output_buffer_padding );
176176
177- const uint32_t pre_decode_offset = data.input_buffer_read_offset ;
178-
179177 Decode (&data);
180178 Consume (&output_rb, &data);
181179
@@ -185,18 +183,6 @@ bool XmaContextNew::Work() {
185183 id (), data.IsAnyInputBufferValid (), data.error_status );
186184 break ;
187185 }
188-
189- // If Decode didn't advance the read offset and produced no frame, we can't
190- // make progress (e.g. split frame waiting for next buffer).
191- // Break to avoid spinning.
192- if (data.input_buffer_read_offset == pre_decode_offset &&
193- current_frame_remaining_subframes_ == 0 ) {
194- XELOGAPU (
195- " XmaContext {}: Decode stalled at offset {} (no progress), "
196- " waiting for next buffer" ,
197- id (), pre_decode_offset);
198- break ;
199- }
200186 }
201187
202188 data.output_buffer_write_offset =
You can’t perform that action at this time.
0 commit comments