appsrc example not works with 1.0.10 on Linux ?

Wim Taymans wim.taymans at gmail.com
Sun Sep 29 21:21:12 PDT 2013


Hi,

The example works fine for me with the git version, which should not 
have
much different from 1.2. What are you testing exactly?

Wim


On Mon, Sep 30, 2013 at 4:32 AM, comicfans44 <comicfans44 at gmail.com> 
wrote:
> Hello,
>    I have tried  appsrc example code with lastest version 1.2 ,found 
> that the example code has a little bug (or gstreamer behaver change? )
> when specified appsrc caps:
>  
> code in document
>  
>    g_object_set (G_OBJECT (appsrc), "caps",
>     gst_caps_new_simple ("video/x-raw",
>          "format", G_TYPE_STRING, "RGB16",
>          "width", G_TYPE_INT, 384,
>          "height", G_TYPE_INT, 288,
>          "framerate", GST_TYPE_FRACTION, 0, 1,
>          NULL), NULL);
> could not run :basesrc 
> ../../../../libs/gst/base/gstbasesrc.c:2865:gst_base_src_loop:<source> 
> error: streaming task paused, reason not-negotiated (-4)
>  
> but with additional
>         "pixel-aspect-ratio" ,GST_TYPE_FRACTION, 1, 1,
>  
> everything works OK . I have not tried 1.0.10 back again to confirm 
> the same reason but it seems to be.
> isn't pixel-aspect-ratio default 1:1 ? or I suggest a little document 
> fix, this really confused.
>  
>     
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20130930/01dedf28/attachment.html>


More information about the gstreamer-devel mailing list