aboutsummaryrefslogtreecommitdiff
path: root/yt_dlp/downloader/rtsp.py
diff options
context:
space:
mode:
authorsepro <sepro@sepr0.com>2024-11-17 00:24:11 +0100
committerGitHub <noreply@github.com>2024-11-17 00:24:11 +0100
commitf95a92b3d0169a784ee15a138fbe09d82b2754a1 (patch)
treefa1e62aceeea805b1f8ed79ec810ee904aaf1b10 /yt_dlp/downloader/rtsp.py
parent1d253b0a27110d174c40faf8fb1c999d099e0cde (diff)
[cleanup] Deprecate more compat functions (#11439)
Authored by: seproDev
Diffstat (limited to 'yt_dlp/downloader/rtsp.py')
-rw-r--r--yt_dlp/downloader/rtsp.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/yt_dlp/downloader/rtsp.py b/yt_dlp/downloader/rtsp.py
index e89269fed..b4b0be7e6 100644
--- a/yt_dlp/downloader/rtsp.py
+++ b/yt_dlp/downloader/rtsp.py
@@ -2,7 +2,7 @@ import os
import subprocess
from .common import FileDownloader
-from ..utils import check_executable, encodeFilename
+from ..utils import check_executable
class RtspFD(FileDownloader):
@@ -26,7 +26,7 @@ class RtspFD(FileDownloader):
retval = subprocess.call(args)
if retval == 0:
- fsize = os.path.getsize(encodeFilename(tmpfilename))
+ fsize = os.path.getsize(tmpfilename)
self.to_screen(f'\r[{args[0]}] {fsize} bytes')
self.try_rename(tmpfilename, filename)
self._hook_progress({