Revision 077a8d61

View differences:

ffplay.c
2070 2070
        stream_component_open(is, audio_index);
2071 2071
    }
2072 2072

  
2073
    ret=-1;
2073 2074
    if (video_index >= 0) {
2074
        stream_component_open(is, video_index);
2075
    } else {
2075
        ret= stream_component_open(is, video_index);
2076
    }
2077
    if(ret<0) {
2076 2078
        /* add the refresh timer to draw the picture */
2077 2079
        schedule_refresh(is, 40);
2078 2080

  

Also available in: Unified diff