From 05012362fc93fd53a659409e1ed99a6778053ef3 Mon Sep 17 00:00:00 2001 From: Etienne Pot Date: Tue, 3 Feb 2026 02:26:57 -0800 Subject: [PATCH] Fix env in open source PiperOrigin-RevId: 864773064 --- mediapy/__init__.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/mediapy/__init__.py b/mediapy/__init__.py index b0ffe94..af22117 100644 --- a/mediapy/__init__.py +++ b/mediapy/__init__.py @@ -104,7 +104,7 @@ from __future__ import annotations __docformat__ = 'google' -__version__ = '1.2.5' +__version__ = '1.2.6' __version_info__ = tuple(int(num) for num in __version__.split('.')) import base64 @@ -1233,7 +1233,9 @@ def _run_ffmpeg( The subprocess.Popen object with running ffmpeg process. """ argv = [] - env: Any = {} + # In open source, keep env=None to preserve default behavior. + # Context: https://github.com/google/mediapy/pull/62 + env: Any = None # pylint: disable=unused-variable ffmpeg_path = _get_ffmpeg_path() # Allowed input and output files are not supported in open source.