Skip to content

Commit

Permalink
Lower close() logging level to debug when the process is already term…
Browse files Browse the repository at this point in the history
…inated (#180)

* Close process in tools functions only if needed

* Revert "Close process in tools functions only if needed"

This reverts commit 6724c40.

* Lower close() logging level to debug
  • Loading branch information
nmaggioni authored Nov 8, 2024
1 parent 410a24f commit 3a3e661
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion haffmpeg/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ async def open(
async def close(self, timeout=5) -> None:
"""Stop a ffmpeg instance."""
if not self.is_running:
_LOGGER.warning("FFmpeg isn't running!")
_LOGGER.debug("FFmpeg isn't running!")
return

# Can't use communicate because we attach the output to a streamreader
Expand Down

0 comments on commit 3a3e661

Please sign in to comment.