[gst-devel] sink-plugin does not terminates properly.
Wim Taymans
wim at fluendo.com
Thu Jan 11 16:58:14 CET 2007
On Thu, 2007-01-11 at 20:26 +0530, Vinayak wrote:
> Hi,
> I have written my-sink plugin, this plugin never exits normally. No
> matter what pipeline elements I have used.
> It just keeps on running somewhere, I dont know where the control goes
> after EOS event. I have handled the events.
A sinks posts an EOS message after it received the EOS event and played
its buffered data (but only in PLAYING), this triggers EOS in the
application.
> I have written functions like unlink, finalize but it seems that it
> never hits there as well.
> I always have to kill the process to terminate its execution.
>
> Rest of the plugin functionality works perfectly fine for me.
> Where should I write my cleanup or exit code for such plugins ? I cant
> derive this plugin from standard BaseSink class.
Why not? writing is sink is quite complicated, I would not recommend it
at all.
Wim
>
> Thanks!
> --Vinayak
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys - and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________ gstreamer-devel mailing list gstreamer-devel at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
--
Wim Taymans <wim at fluendo.com>
More information about the gstreamer-devel
mailing list