Hi,<div><br></div><div>The example works fine for me with the git version, which should not have</div><div>much different from 1.2. What are you testing exactly?</div><div><br></div><div>Wim</div><div><br><br>On Mon, Sep 30, 2013 at 4:32 AM, comicfans44 <comicfans44@gmail.com> wrote:<br>
<blockquote type="cite"><title>Mail</title>
<meta name="GENERATOR" content="KsDHTMLEDLib.ocx, FreeWare HTML Editor 1.164.2, ?Kurt Senfer">
<meta content="text/html; charset=GB2312" http-equiv="Content-Type">
<div>Hello,</div>
<div> I have tried appsrc example code with lastest
version 1.2 ,found that the example code has a little bug (or gstreamer behaver
change? )</div>
<div>when specified appsrc caps:</div>
<div> </div>
<div>code in document </div>
<div> </div>
<div> g_object_set (G_OBJECT (appsrc), "caps",<br>
gst_caps_new_simple
("video/x-raw",<br> "format",
G_TYPE_STRING, "RGB16",<br>
"width", G_TYPE_INT, 384,<br>
"height", G_TYPE_INT, 288,<br>
"framerate", GST_TYPE_FRACTION, 0,
1,<br> NULL), NULL);</div>
<div>could not run :basesrc
../../../../libs/gst/base/gstbasesrc.c:2865:gst_base_src_loop:<source>
error: streaming task paused, reason not-negotiated (-4)</div>
<div> </div>
<div>but with additional </div>
<div> "pixel-aspect-ratio"
,GST_TYPE_FRACTION, 1, 1,</div>
<div> </div>
<div>everything works OK . I have not tried 1.0.10 back again to confirm the
same reason but it seems to be.</div>
<div>isn't pixel-aspect-ratio default 1:1 ? or I suggest a little document
fix, this really confused.</div>
<div> </div>
<div> </div>
</blockquote></div>