Handling force-caps from playbin

Tim Müller tim at centricular.com
Sun Feb 16 15:15:59 PST 2014


On Mon, 2014-02-17 at 07:48 +0900, Jeongseok Kim/Joy wrote:

Hi,

> Appsrc can be used with playbin if uri set as "appsrc://".
> However, in my case, I can handle and extract all data from stream so I 
> don't need help from typefind.
> In addition, when I set caps into appsrc, it is discarded by typefind in 
> decodebin.
> Is there any proper solution to handle force-caps with using playbin?

I believe if upstream (here: appsrc) sends caps, typefind will not do
any typefinding and will just accept the caps it got.

 $ gst-launch-1.0 appsrc caps=foo/bar ! typefind ! fakesink -v

appears to confirm this. Is this not what's happening for you?

 Cheers
  -Tim

-- 
Tim Müller, Centricular Ltd - http://www.centricular.com



More information about the gstreamer-devel mailing list