質問するログイン新規登録

回答編集履歴

1

文章修正

2021/03/08 06:13

投稿

teamikl
teamikl

スコア8824

answer CHANGED
@@ -105,7 +105,7 @@
105
105
 
106
106
  ivstrm, iastrm = icntnr.streams.get(video=0, audio=0)
107
107
 
108
- assert isinstance(iastrm, av.AudioStream) # nox等で3.6をテストする際に
108
+ assert isinstance(iastrm, av.AudioStream) # nox等で3.6以前をテストする際に
109
109
  assert isinstance(ivstrm, av.VideoStream) # 誤コードがテストをpassしないように確認
110
110
 
111
111
  # python3.6
@@ -118,7 +118,7 @@
118
118
 
119
119
 
120
120
  ```python
121
- # 各 Graph を link_to で繋ぐユーティリティ関数
121
+ # 各 Graph のノードを link_to で繋ぐユーティリティ関数
122
122
  # issue 内コメントから借用 + 戻り値を追加
123
123
  def link_nodes(*nodes):
124
124
  for c, n in zip(nodes, nodes[1:]):
@@ -135,7 +135,7 @@
135
135
  graph.configure()
136
136
 
137
137
  # フィルタ適用 frame を push/pull
138
- # ([a]buffer/[a]buffersink がある場合は、push/pull内で自動判別)
138
+ # ([a]buffer/[a]buffersink がある場合は、Graphのpush/pull内で自動判別)
139
139
  graph.push(inframe)
140
140
  outframe = graph.pull()
141
141