Flush RTSP pipeline

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Flush RTSP pipeline

allopez
Hello everyone,

I am using the next pipeline to connect to a IP camera, which sends
MJPEG video through it:

rtspsrc name=rtspsrc ! queue ! rtpjpegdepay ! ffdec_mjpeg ! xvimagesink
name=videosink

e.g. URI = rtsp://192.168.0.25/live.sdp

I would like to know how to flush correctly the pipeline when I get the
end-of-stream message in the GstBus (GST_MESSAGE_EOS).

Currently, I set the pipeline to NULL and open it again:



______________________
This message including any attachments may contain confidential
information, according to our Information Security Management System,
 and intended solely for a specific individual to whom they are addressed.
 Any unauthorised copy, disclosure or distribution of this message
 is strictly forbidden. If you have received this transmission in error,
 please notify the sender immediately and delete it.

______________________
Este mensaje, y en su caso, cualquier fichero anexo al mismo,
 puede contener informacion clasificada por su emisor como confidencial
 en el marco de su Sistema de Gestion de Seguridad de la
Informacion siendo para uso exclusivo del destinatario, quedando
prohibida su divulgacion copia o distribucion a terceros sin la
autorizacion expresa del remitente. Si Vd. ha recibido este mensaje
 erroneamente, se ruega lo notifique al remitente y proceda a su borrado.
Gracias por su colaboracion.

______________________

_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel