From 40b4a8dc16cffdb603782e86314523979902ad47 Mon Sep 17 00:00:00 2001 From: BPanther Date: Wed, 14 Sep 2022 20:49:05 +0200 Subject: [PATCH] localhost added Signed-off-by: Thilo Graf supplement to: fix loopback playing 56e533cfc171b4a2949baf5c77dd29e381579022 --- libeplayer3/container/container_ffmpeg.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libeplayer3/container/container_ffmpeg.c b/libeplayer3/container/container_ffmpeg.c index 1289b7d..6120998 100644 --- a/libeplayer3/container/container_ffmpeg.c +++ b/libeplayer3/container/container_ffmpeg.c @@ -1845,7 +1845,7 @@ int32_t container_ffmpeg_init_av_context(Context_t *context, char *filename, uin wrapped_set_max_analyze_duration(avContextTab[AVIdx], 1); } - if (strstr(filename, "127.0.0.1") == 0) + if ((strstr(filename, "127.0.0.1") == 0) || (strstr(filename, "localhost") == 0)) { ffmpeg_printf(20, "find_streaminfo\n");