broken appsrc example

William Salibrici bsalibrici at
Wed Apr 27 15:10:09 UTC 2016

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?


-----Original Message-----
From: gstreamer-devel [mailto:gstreamer-devel-bounces at] 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>
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, 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 backwards compatible.

Sebastian Dröge, Centricular Ltd ·

More information about the gstreamer-devel mailing list