[gst-devel] How to properly handle a disconnected (abruptly ended) input video stream?

Zaheer Merali zaheermerali at gmail.com
Wed Mar 15 00:48:07 CET 2006


If I do change this, to avoid breakage I should create a new bus
message saying that camera has disconnected/reconnected rather than do
it in the bus reset message.

Zaheer

On 3/14/06, Andy Wingo <wingo at pobox.com> wrote:
> Hi Thomas,
>
> On Tue, 2006-03-14 at 13:54 +0100, Thomas Vander Stichele wrote:
> > Zaheer knows - he should reply :)
>
> I gave all necessary information to find the answer :)
>
> > One thing he ran into is that the message happens on every bus reset, so
> > also when other devices get plugged/unplugged.  Do you think the element
> > should filter these, so that it specifically only messages for
> > disconnectcs/connects on its devices ?
>
> Mmm, probably -- a message on whether the camera is connected or
> disconnected would be more useful. However that requires a bit of
> effort, and in the normal case it's just 1 node (the host) vs 2 nodes
> (the camera as well). -EDONTCAREENOUGH :P
>
> Regards,
> --
> Andy Wingo
> http://wingolog.org/
>
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by xPML, a groundbreaking scripting language
> that extends applications into web and mobile media. Attend the live webcast
> and join the prime developer group breaking into this new coding territory!
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
>
>




More information about the gstreamer-devel mailing list