Hi all!

My application is reading the frames of a netradio stream using
av_read_frame (...). Everything goes well till I unplug the ethernet
cable. Then av_read_frame doesn't exit (I have been waiting for 2
minutes), although it should report an EOF or any other error in its
return value. In case of local media file, exits without a problem when
reaching EOF.

How can I make it return from av_read_frame (...) within a reasonable
period if network goes down and no more data can be read from the stream?

Thanks,
-- 
[- Selmeci, Tamas
[- www.open-st.eu
_______________________________________________
libav-user mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/libav-user

Reply via email to