From 9a6f35757f0b43d188eaf314a2be92ce78e12a3a 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 Origin commit data ------------------ Commit: https://github.com/neutrino-images/ni-neutrino/commit/97d7dc2e6b3b7170066d430434672e3f12a90f75 Author: [CST] Focus Date: 2016-02-05 (Fri, 05 Feb 2016) --- 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;