mirror of
https://github.com/mpv-player/mpv.git
synced 2026-10-29 15:11:09 +08:00
Fix hang for some asf video stream like http://193.219.139.115/ltv/zinios/news1830_20040501.wmv
Patch by adland git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12397 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
@@ -541,7 +541,7 @@ asf_http_request(streaming_ctrl_t *streaming_ctrl) {
|
||||
if(asf_http_ctrl->n_video > 0) {
|
||||
for( i=0; i<asf_http_ctrl->n_video ; i++ ) {
|
||||
stream_id = asf_http_ctrl->video_streams[i];
|
||||
if(stream_id == asf_http_ctrl->video_id) {
|
||||
if(stream_id == asf_http_ctrl->video_id || !asf_http_ctrl->video_id) {
|
||||
enable = 0;
|
||||
} else {
|
||||
enable = 2;
|
||||
|
||||
Reference in New Issue
Block a user