broken appsrc example
sebastian at centricular.com
Wed Apr 27 06:24:28 UTC 2016
On Di, 2016-04-26 at 16:56 +0000, William Salibrici wrote:
> 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 22.214.171.124, 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:
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
Sebastian Dröge, Centricular Ltd · http://www.centricular.com
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 949 bytes
Desc: This is a digitally signed message part
More information about the gstreamer-devel