download completion ??

Tim-Philipp Müller t.i.m at zen.co.uk
Mon Sep 23 15:53:48 PDT 2013


On Mon, 2013-09-23 at 04:54 -0700, mahendiran wrote:

> I am using souphttpsrc in my pipeline to download the data from server.
> souphttpsrc->tsdemux->queue->decoders. In this i want to know the download
> completion(entire data is download from server). I cant use EOS, because it
> is to mention the play completion as I know.
> 
> Please help me on this.

You could hook up an event probe on souphttpsrc's src pad or tsdemux's
sink pad and wait for the EOS event. (Note: this is sent from the
streaming thread, post an application message on the bus to notify the
application thread if needed)

Cheers
 -Tim



More information about the gstreamer-devel mailing list