localhost added

Signed-off-by: Thilo Graf <dbt@novatux.de>

supplement to: fix loopback playing
	       56e533cfc1
This commit is contained in:
BPanther
2022-09-14 20:49:05 +02:00
committed by Thilo Graf
parent 56e533cfc1
commit 40b4a8dc16

View File

@@ -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); 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"); ffmpeg_printf(20, "find_streaminfo\n");