On 10/13/11 1:20 PM, Martin Storsjö wrote:
+    { "rtsp_transport", "RTSP transport protocols", OFFSET(lower_transport_mask), 
AV_OPT_TYPE_FLAGS, {0}, 0, INT_MAX, DEC|ENC, "rtsp_transport" }, \
+    { "udp", "UDP", 0, AV_OPT_TYPE_CONST, {1<<  RTSP_LOWER_TRANSPORT_UDP}, 0, 0, 
DEC|ENC, "rtsp_transport" }, \
+    { "tcp", "TCP", 0, AV_OPT_TYPE_CONST, {1<<  RTSP_LOWER_TRANSPORT_TCP}, 0, 0, 
DEC|ENC, "rtsp_transport" }, \
+    { "udp_multicast", "UDP multicast", 0, AV_OPT_TYPE_CONST, {1<<  
RTSP_LOWER_TRANSPORT_UDP_MULTICAST}, 0, 0, DEC, "rtsp_transport" },

I'd use the proto+proto:// syntax.
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to