From 81ebbad8cb51a1576c1b06fa121ac26a1f607f2a Mon Sep 17 00:00:00 2001 From: WyattBlue Date: Fri, 27 Feb 2026 21:45:48 -0500 Subject: [PATCH] We don't need this type of comment --- av/container/input.py | 8 -------- 1 file changed, 8 deletions(-) diff --git a/av/container/input.py b/av/container/input.py index 25cebe386..b5833726a 100644 --- a/av/container/input.py +++ b/av/container/input.py @@ -52,13 +52,6 @@ def __cinit__(self, *args, **kwargs): self.set_timeout(self.open_timeout) self.start_timeout() with cython.nogil: - # This peeks are the first few frames to: - # - set stream.disposition from codec.audio_service_type (not exposed); - # - set stream.codec.bits_per_coded_sample; - # - set stream.duration; - # - set stream.start_time; - # - set stream.r_frame_rate to average value; - # - open and closes codecs with the options provided. ret = lib.avformat_find_stream_info(self.ptr, c_options) self.set_timeout(None) self.err_check(ret) @@ -76,7 +69,6 @@ def __cinit__(self, *args, **kwargs): stream = self.ptr.streams[i] codec = lib.avcodec_find_decoder(stream.codecpar.codec_id) if codec: - # allocate and initialize decoder codec_context = lib.avcodec_alloc_context3(codec) err_check( lib.avcodec_parameters_to_context(codec_context, stream.codecpar)