Problem in getting File descriptor from pipeline
Keyur Patel
keyur.patel at einfochips.com
Mon Jan 6 02:11:50 PST 2014
Hi,
In our embedded device when device goes in low memory state due to some operation in other application, we get error in allocation of buffer and two fds are created but due to error one fd which was due to "dup()" was unable to close automatically on releasing pipeline.
Hence application fd count is getting increasing more and more.
This is a bug in gst-plugin-good.
I need to release both fds in erroneous condition hence i required 2nd one.
But its not possible to get 2nd fd (created by dup) at application level.
So due to that need to apply patch for plugin code.
Regards,
Keyur
-----Original Message-----
From: gstreamer-devel-bounces+keyur.patel=einfochips.com at lists.freedesktop.org [mailto:gstreamer-devel-bounces+keyur.patel=einfochips.com at lists.freedesktop.org] On Behalf Of Sebastian Dröge
Sent: 06 January 2014 02:41
To: Discussion of the development of and with GStreamer
Subject: Re: Problem in getting File descriptor from pipeline
On Mo, 2014-01-06 at 11:12 +0530, Keyur Patel wrote:
> In ubuntu pc with same version its opening only 1 fd.
> But I am using it on imx6 arm board which is opening 2 fds.
Then it's using the buffer pool there but not on your Ubuntu PC. That's the only place where there's a call to dup().
There's no way to get the fd there, but that should be necessary either because it's just a duplicate of the other one. What do you need it for?
--
Sebastian Dröge, Centricular Ltd - http://www.centricular.com Expertise, Straight from the Source
*************************************************************************************************************************************************************
eInfochips Business Disclaimer : This e-mail message and all attachments transmitted with it are intended solely for the use of the addressee and may contain legally privileged and confidential information. If the reader of this message is not the intended recipient, or an employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that any dissemination, distribution, copying, or other use of this message or its attachments is strictly prohibited. If you have received this message in error, please notify the sender immediately by replying to this message and please delete it from your computer. Any views expressed in this message are those of the individual sender unless otherwise stated. Company has taken enough precautions to prevent the spread of viruses. However the
company accepts no liability for any damage caused by any virus transmitted by this email.
*************************************************************************************************************************************************************
*************************************************************************************************************************************************************
eInfochips Business Disclaimer : This e-mail message and all attachments transmitted with it are intended solely for the use of the addressee and may contain legally privileged and confidential information. If the reader of this message is not the intended recipient, or an employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that any dissemination, distribution, copying, or other use of this message or its attachments is strictly prohibited. If you have received this message in error, please notify the sender immediately by replying to this message and please delete it from your computer. Any views expressed in this message are those of the individual sender unless otherwise stated. Company has taken enough precautions to prevent the spread of viruses. However the company accepts no liability for any damage caused by any virus transmitted by this email.
*************************************************************************************************************************************************************
---------------------------------------------------------------------------------------------
Notice:
This message has been scanned by Trend Micro Mail Security scanner and is believed to be clean
---------------------------------------------------------------------------------------------
More information about the gstreamer-devel
mailing list