mirror of
https://github.com/mpv-player/mpv
synced 2025-02-07 15:41:55 +00: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:
parent
664e2abbd7
commit
e6015b2bd8
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user