Skip to content

Commit

Permalink
Add doc comment
Browse files Browse the repository at this point in the history
  • Loading branch information
rectalogic authored and WyattBlue committed Aug 8, 2024
1 parent 3499288 commit 9cbb41b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions av/filter/graph.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,10 @@ cdef class Graph:
return self.add("abuffer", name=name, **kwargs)

def set_audio_frame_size(self, frame_size):
"""
Set the audio frame size for the graphs `abuffersink`.
See `av_buffersink_set_frame_size <https://ffmpeg.org/doxygen/trunk/group__lavfi__buffersink.html#ga359d7d1e42c27ca14c07559d4e9adba7>`_.
"""
if not self.configured:
raise ValueError("graph not configured")
sinks = self._context_by_type.get("abuffersink", [])
Expand Down

0 comments on commit 9cbb41b

Please sign in to comment.