Hi,<br><br>I have problems too since the codecparsers get integrated in gstreamer-vaapi.<br>For example, if I try to play a MPEG-4 (Divx) file I get a crash:<br><br>libva: va_openDriver() returns 0<br>*** stack smashing detected ***: gstpenang terminated<br>

======= Backtrace: =========<br>/lib/libc.so.6(__fortify_fail+0x55)[0xb64db3d5]<br>/lib/libc.so.6(+0x11737b)[0xb64db37b]<br>/usr/lib/gstreamer-0.10/libgstvideoparsersbad.so(+0x132e5)[0xb14592e5]<br>/usr/lib/gstreamer-0.10/libgstvideoparsersbad.so(+0x8ae7)[0xb144eae7]<br>

/usr/lib/gstreamer-0.10/libgstvideoparsersbad.so(+0xb152)[0xb1451152]<br>/usr/lib/libgstbase-0.10.so.0(+0xcdb1)[0xb4be8db1]<br>/usr/lib/libgstreamer-0.10.so.0(gst_pad_set_caps+0x1ac)[0xb77a5c2c]<br>/usr/lib/libgstreamer-0.10.so.0(+0x1aea0)[0xb776aea0]<br>

/usr/lib/libgstreamer-0.10.so.0(+0x56fc4)[0xb77a6fc4]<br>/usr/lib/libgstreamer-0.10.so.0(+0x57925)[0xb77a7925]<br>/usr/lib/libgstreamer-0.10.so.0(gst_pad_push+0x158)[0xb77aabf8]<br>/usr/lib/gstreamer-0.10/libgstcoreelements.so(+0x21a04)[0xb49eda04]<br>

/usr/lib/libgstreamer-0.10.so.0(+0x85c62)[0xb77d5c62]<br>/usr/lib/libgstreamer-0.10.so.0(+0x87009)[0xb77d7009]<br><br><div class="gmail_extra"><br><br><div class="gmail_quote">On 10 December 2012 18:33, Beauchesne, Gwenole <span dir="ltr"><<a href="mailto:gwenole.beauchesne@intel.com" target="_blank">gwenole.beauchesne@intel.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
gst-vaapi pulls in newer code from gst-plugins-bad master, not 0.10 as features and more important bug fixes that may break compatibility happen there. gst-vaapi codecparsers will live forever for 0.10 based branches, and will be removed for 1.x integration. Please try the attached patch.<br>


<br>
Thanks,<br>
Gwenole.<br>
________________________________________<br>
From: Yuan, Feng<br>
Sent: 10 December 2012 09:17<br>
To: Beauchesne, Gwenole<br>
Cc: <a href="mailto:libva@lists.freedesktop.org">libva@lists.freedesktop.org</a>; Li, Jocelyn; Zhong, CongX<br>
Subject: codec parser issues between gst-plugins-bad and gstreamer-vaapi<br>
<div class="HOEnZb"><div class="h5"><br>
Hi Gwenole,<br>
     We saw codec parser moved into gstreamer-vaapi as a submodule for a few weeks. PRC QA team reported some bugs of playbin2 errors but manual pipeline works good.  e.g. <a href="https://bugs.freedesktop.org/show_bug.cgi?id=55305" target="_blank">https://bugs.freedesktop.org/show_bug.cgi?id=55305</a>. After Cong tracked this bug, he found the issue was caused by codec parser which may get confused when APIs exist both in gst-plugins-bad and gst-vaapi.<br>


     Plugin <h264parse>, which is a gst-plugins-bad element, it calls API *gst_h264_parser_parse_sps* in gsth264parser.c to parse SPS data which should be in libgstcodecparser.so. The problem is that this API also exist in gstream-vaapi as submodule which was a built-in in <a href="http://libgstvaapi-0.10.so" target="_blank">libgstvaapi-0.10.so</a>.  This API may get unexpected result since *GstH264SPS* has different definitions between gst-plugins-bad and gstreamer-vaapi.<br>


     This issue blocked us, it seems we have to rebuild gst-plugins-bad every time by force copy codec-parser from gst-vaapi to gst-plugins-bad. Do you have any better idea to solve this issue?<br>
      BTW, Why codec-parser was moved into gst-vaapi?Is it the reason that gst-plugins-bad accept patches slow or something? How long would codec-parser be in gst-vaapi, Temporally or always?<br>
<br>
Thanks,<br>
Wind<br>
</div></div><br>_______________________________________________<br>
Libva mailing list<br>
<a href="mailto:Libva@lists.freedesktop.org">Libva@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/libva" target="_blank">http://lists.freedesktop.org/mailman/listinfo/libva</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>Javier Jardón Cabezas<br>
</div>