New submission from Sebastian Jansson <[EMAIL PROTECTED]>:

I'm using ffmpeg as a lib to receive an udp stream via multicast. That works
fine when there is a stream. But when I try to connect to an unavailable
ipadress:port it just locks and wait for an connection.

I'd expect it to return with an error instead, so I could handle it in my 
program.

To reproduce you can use ffplay like following: 
ffplay udp://235.2.2.2:5000
it won't return until it has received a stream and the user can close the 
window.

I asked about it on the irc channel and they suggested reporting it as a bug. I
tried debugging it with gdb, but it doesn't seem possible to pause the execution
when it's in the locked state.

I've only tried this on Windows. Using the latest svn(Rev.14260) built with
gcc.exe (GCC) 4.2.1-sjlj (mingw32-2)

----------
messages: 2497
nosy: sebastian8025
priority: normal
status: new
substatus: new
title: ffmpeg stalls when trying to play udp stream from an unavaible adress.
type: bug

______________________________________________________
FFmpeg issue tracker <[EMAIL PROTECTED]>
<https://roundup.mplayerhq.hu/roundup/ffmpeg/issue539>
______________________________________________________

Reply via email to