broken appsrc example
William Salibrici
bsalibrici at latticeinc.com
Wed Apr 27 15:10:09 UTC 2016
Sebastian,
Thank you for your reply.
I have upgraded to 1.6.4 and your fix works just fine.
I checked the release notes for the latest version, 1.8.1, and under known issues it states that the vp8enc plugin in now broken where it used to work fine before [Bugzilla #763663]. This would be a problem for me. Any idea when this would be fixed?
Regards,
Bill
-----Original Message-----
From: gstreamer-devel [mailto:gstreamer-devel-bounces at lists.freedesktop.org] On Behalf Of Sebastian Dröge
Sent: Wednesday, April 27, 2016 2:24 AM
To: Discussion of the development of and with GStreamer <gstreamer-devel at lists.freedesktop.org>
Subject: Re: broken appsrc example
On Di, 2016-04-26 at 16:56 +0000, William Salibrici wrote:
> Hello,
>
> I am new to gstreamer so I am working with some examples in your
> manuals to help with the learning curve. I have a question about the
> Appsrc example [GStreamer Application Development Manual (1.7.90),
> section 19.2.1.3, pages 96 – 98].
>
> First, here is some info about my development environment:
>
> · Windows 7 OS,
> · Visual studio 2010,
> · Gstreamer version 1.5.2 [I will be working with legacy code
> at this version], · Using your windows pre-built binaries.
You should update at least to 1.6. 1.5.2 was a development snapshot, not a proper stable release.
> I am able to successfully compile, link, and execute your appsrc
> example which uses the pull mode method of pushing new buffers into
> appsrc although appsrc is running in push mode. The only change I made
> was to use the d3dvideosink. The example runs just fine except for one
> thing, there are severe memory leaks [viewed through the task manager]
> that continue to grow as long as the app runs. It appears that your
> example is broken.
>
> Is this a side effect of using the pull mode method of pushing new
> buffers? How can this be fixed?
There was a memory leak in this specific example, which is fixed now:
http://cgit.freedesktop.org/gstreamer/gstreamer/commit/?id=a4db38ab0578e598abf466a53dc6965c91e7a32e
It might be the one you saw, or not.
Please try this change and also upgrade at least to version 1.6.4, which is the latest stable release from the release series of which
1.5.2 was a development snapshot.
Ideally upgrade to 1.8.1 though, many (also Windows related and d3dvideosink related) problems were fixed there and it is completely backwards compatible.
--
Sebastian Dröge, Centricular Ltd · http://www.centricular.com
More information about the gstreamer-devel
mailing list