From 97d7dc2e6b3b7170066d430434672e3f12a90f75 Mon Sep 17 00:00:00 2001 From: "[CST] Focus" Date: Fri, 5 Feb 2016 19:26:39 +0300 Subject: [PATCH] driver/streamts.cpp: fix webtv stream open --- src/driver/streamts.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/driver/streamts.cpp b/src/driver/streamts.cpp index df6a9a7a8..118e980b0 100644 --- a/src/driver/streamts.cpp +++ b/src/driver/streamts.cpp @@ -764,6 +764,11 @@ bool CStreamStream::Open() if (url.empty()) return false; + //av_log_set_level(AV_LOG_VERBOSE); + av_register_all(); + avcodec_register_all(); + avformat_network_init(); + printf("%s: Open input [%s]....\n", __FUNCTION__, url.c_str()); AVDictionary *options = NULL;