Skip to content

Commit a7016ff

Browse files
Etienne PotThe mediapy Authors
authored andcommitted
Fix env in open source
PiperOrigin-RevId: 864293294
1 parent 6dbde2c commit a7016ff

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

mediapy/__init__.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@
104104
from __future__ import annotations
105105

106106
__docformat__ = 'google'
107-
__version__ = '1.2.5'
107+
__version__ = '1.2.6'
108108
__version_info__ = tuple(int(num) for num in __version__.split('.'))
109109

110110
import base64
@@ -1233,7 +1233,9 @@ def _run_ffmpeg(
12331233
The subprocess.Popen object with running ffmpeg process.
12341234
"""
12351235
argv = []
1236-
env: Any = {}
1236+
# In open source, keep env=None to preserve default behavior.
1237+
# Context: https://github.com/google/mediapy/pull/62
1238+
env: Any = None # pylint: disable=unused-variable
12371239
ffmpeg_path = _get_ffmpeg_path()
12381240

12391241
# Allowed input and output files are not supported in open source.

0 commit comments

Comments
 (0)