Revision 69adcc4f libavformat/rtsp.c

View differences:

libavformat/rtsp.c
1109 1109
            snprintf(transport, sizeof(transport) - 1,
1110 1110
                     "%s/UDP;multicast", trans_pref);
1111 1111
        }
1112
        if (rt->server_type == RTSP_SERVER_REAL ||
1112
        if (s->oformat) {
1113
            av_strlcat(transport, ";mode=receive", sizeof(transport));
1114
        } else if (rt->server_type == RTSP_SERVER_REAL ||
1113 1115
            rt->server_type == RTSP_SERVER_WMS)
1114 1116
            av_strlcat(transport, ";mode=play", sizeof(transport));
1115 1117
        snprintf(cmd, sizeof(cmd),

Also available in: Unified diff