<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <br>
    <div class="moz-cite-prefix">On 11/06/2014 00:22, Alex J Lennon
      wrote:<br>
    </div>
    <blockquote cite="mid:53979352.6040909@dynamicdevices.co.uk"
      type="cite">
      <meta content="text/html; charset=ISO-8859-1"
        http-equiv="Content-Type">
      <br>
      <div class="moz-cite-prefix">On 10/06/2014 19:48, Andrei Gherzan
        wrote:<br>
      </div>
      <blockquote
cite="mid:CAK18fxGg1sCKbsKS=Qg4n8==sJJgEME4_N11CriNa+irL-ziBg@mail.gmail.com"
        type="cite">
        <div dir="ltr">Hi Alex,<br>
          <div class="gmail_extra"><br>
            <br>
            <div class="gmail_quote">On Mon, Jun 9, 2014 at 10:23 AM,
              Alex J Lennon <span dir="ltr"><<a
                  moz-do-not-send="true"
                  href="mailto:ajlennon@dynamicdevices.co.uk"
                  target="_blank">ajlennon@dynamicdevices.co.uk</a>></span>
              wrote:<br>
              <blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
                <div class="im">The eglglessink needs to be built to
                  target the Raspberry Pi or it will seg-fault in use.<br>
                  <br>
                  Autoconf attempts to detect whether to build for RPi
                  but there are some include files needed, the search
                  path to which must be specified.<br>
                </div>
              </blockquote>
              <div><br>
              </div>
              <div>Format lines - max 78 chars per line.</div>
              <div> </div>
              <blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
                <div class="im"> <br>
                  ref: <a moz-do-not-send="true"
                    href="https://github.com/raspberrypi/firmware/issues/34"
                    target="_blank">https://github.com/raspberrypi/firmware/issues/34</a><br>
                  <br>
                  ref: <a moz-do-not-send="true"
                    href="https://github.com/raspberrypi/firmware/issues/99"
                    target="_blank">https://github.com/raspberrypi/firmware/issues/99</a><br>
                  <br>
                  This patch adds the needed include paths and forces
                  the plugin to be built for Raspberry Pi.<br>
                  <br>
                  With this patch the following pipeline works on RPi,<br>
                  <br>
                  modprobe bcm2835-v4l2 gst_v4l2src_is_broken=1<br>
                  gst-launch-1.0 --gst-debug-no-color v4l2src !
                  'video/x-raw,format=RGB,width=1280,height=720,framerate=(fraction)30/1'
                  ! eglglessink max-lateness=-1<br>
                  <br>
                  Change-Id: I80826a43a428199b2a05ea51404ead24a815c38f<br>
                  Signed-off-by: Alex J Lennon <<a
                    moz-do-not-send="true"
                    href="mailto:ajlennon@dynamicdevices.co.uk">ajlennon@dynamicdevices.co.uk</a>><br>
                  ---<br>
                </div>
                <div class="im"> recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.2.3.bbappend

                  | 1 +<br>
                   1 file changed, 1 insertion(+)<br>
                   create mode 100644
                  recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.2.3.bbappend<br>
                  <br>
                </div>
                <div class="im">diff --git
                  a/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.2.3.bbappend
b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.2.3.bbappend<br>
                  new file mode 100644<br>
                  index 0000000..199e0c1<br>
                  --- /dev/null<br>
                  +++
                  b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.2.3.bbappend<br>
                  @@ -0,0 +1 @@<br>
                  +EXTRA_OECONF += "
                  CPPFLAGS='-I${STAGING_DIR_TARGET}/usr/include/interface/vcos/pthreads
                  -I${STAGING_DIR_TARGET}/usr/include/interface/vmcs_host/linux'

                  --with-egl-window-system=rpi"<br>
                </div>
              </blockquote>
              <div><br>
              </div>
              <div>This append should be done only for raspberrypi
                machine. Having this append (EXTRA_OECONF) for other
                machines too would break gstreamer1.0-plugins-bad as
                most of the times bblayers.conf includes many layers not
                always related to the MACHINE selected.</div>
            </div>
          </div>
        </div>
      </blockquote>
      <br>
      Absolutely. Our emails may have crossed here and if so my
      apologies, but this is why I directed the .bbappend to
      [meta-raspberrypi] as that's where it's needed.<br>
    </blockquote>
    <br>
    Andrei - Upon further reflection I see what you mean. Somebody might
    well include the meta-raspberrypi layer, yet not be building for the
    Raspberry Pi. Not something I'd considered. I'll re-work the patch
    to take this into account.<br>
    <br>
    Cheers, Alex<br>
    <br>
    <div class="moz-signature">
      <div class="preview"> </div>
    </div>
  </body>
</html>