From 176f5ab7baff31e3d44248a98e66e00b5e6f698f Mon Sep 17 00:00:00 2001 From: Minho Shim <6764739+minostauros@users.noreply.github.com> Date: Wed, 2 Nov 2022 15:50:10 +0900 Subject: [PATCH] fix: match parameter default with docstring --- python/decord/av_reader.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/decord/av_reader.py b/python/decord/av_reader.py index e463e4a..acc8cea 100644 --- a/python/decord/av_reader.py +++ b/python/decord/av_reader.py @@ -41,7 +41,7 @@ class AVReader(object): """ - def __init__(self, uri, ctx=cpu(0), sample_rate=44100, mono=True, width=-1, height=-1, num_threads=0, fault_tol=-1): + def __init__(self, uri, ctx=cpu(0), sample_rate=-1, mono=True, width=-1, height=-1, num_threads=0, fault_tol=-1): self.__audio_reader = AudioReader(uri, ctx, sample_rate, mono) self.__audio_reader.add_padding() if hasattr(uri, 'read'):