<HTML><HEAD><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></HEAD>
<BODY style="FONT-SIZE: 9pt; FONT-FAMILY: ÐÂËÎÌå" leftMargin=5 topMargin=5 #ffffff>
<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></BODY></HTML>