Hi Michael, Michael Niedermayer wrote: [...]
either way rtsp_default_protocols should be droped its redundant and a mess also it doesnt work on some OSs with PIC after -Bsymbolic has been added, not that it did work before on all ... Thats of course unrelated to the patch but the patch depends on rtsp_default_protocols which shouldnt be there at all ... I have a patch removing rtsp_default_protocols... I did not submit it before because it is missing the ffplay part (I just added in this moment the minimal changes needed to compile ffplay).
The patch removes rtsp_default_protocols, fixes option parsing in rtsp.c (otherwise it would be impossible to select rtp over tcp), and removes rtsp_default_protocols usage from ffplay.c. If the patch is ok, I can commit it in three times (first fix option parsing, then remove rtsp_default_protocols usage from ffplay, and then remove such variable from rtsp.c). Thanks, Luca