driver/streamts.cpp: fix webtv stream open

This commit is contained in:
[CST] Focus
2016-02-05 19:26:39 +03:00
parent b0f0cee5dc
commit 97d7dc2e6b

View File

@@ -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;