<p dir="ltr">The plugin registration does not require dynamic linking.</p>
<div class="gmail_quote">On Oct 5, 2012 4:55 PM, "cowwoc" <<a href="mailto:cowwoc@bbs.darktech.org">cowwoc@bbs.darktech.org</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

  
    
  
  <div bgcolor="#FFFFFF" text="#000000">
    <div><br>
          How do you handle plugin registration? I was under the
      impression that the plugin registration system required dynamic
      linking? Aren't there symbol collisions across the various
      modules?<br>
      <br>
      Gili<br>
      <br>
      On 05/10/2012 4:53 PM, Andoni Morales wrote:<br>
    </div>
    <blockquote type="cite"><br>
      <br>
      <div class="gmail_quote">2012/10/5 cowwoc <span dir="ltr"><<a href="mailto:cowwoc@bbs.darktech.org" target="_blank">cowwoc@bbs.darktech.org</a>></span><br>
        <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
          <br>
              What's the impact of static linking followed by dynamic
          linking as you mentioned? I assume from a legal/LGPL point of
          view, it's as if we're dynamically linking our application
          with GStreamer, correct?<br>
        </blockquote>
        <div> </div>
        <div><br>
          Another advantage of this method is that we allow application
          developers to include only the plugins required by the
          application, instead of providing a single blob with
          *everything*, reducing considerably the size of the shared
          library.<br>
          <br>
          Andoni <br>
        </div>
        <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
          <br>
          Thanks,<br>
          Gili
          <div>
            <div><br>
              <br>
              On 05/10/2012 11:29 AM, Sebastian Dröge wrote:<br>
              <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
                On Fr, 2012-10-05 at 11:05 -0400, cowwoc wrote:<br>
                <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
                       Okay, I'll bite :)<br>
                  <br>
                        1. Is there any reason that your distribution
                  only contains<br>
                           static library files? Do you plan on
                  supporting *both* static<br>
                           and dynamic linking by November?<br>
                </blockquote>
                These static libraries are linked into one large dynamic
                library that is<br>
                then used by the Android application. This was done
                because Android has<br>
                a limitation of 64 shared libraries per process, and you
                can easily hit<br>
                that with all the libraries GStreamer and the plugins
                depend upon and<br>
                the number of plugins.<br>
                <br>
                Dynamic linking is nonetheless possible and there will
                also be a<br>
                zip/tarball with all the dynamic libraries and also the
                GStreamer tools<br>
                like gst-launch, etc. This is mostly for debugging or if
                you want to do<br>
                something really special. But for applications the
                supported way of<br>
                using GStreamer on Android will be the static linking
                route that is also<br>
                explained in the docs at <a href="http://docs.gstreamer.com" target="_blank">docs.gstreamer.com</a>
                (login as the test user to<br>
                see them). Using this static linking is btw very
                convenient, we made as<br>
                easy as possible. See this for more details:<br>
                <a href="http://docs.gstreamer.com/display/GstSDK/Installing+for+Android" target="_blank">http://docs.gstreamer.com/display/GstSDK/Installing+for+Android</a><br>
                +development<br>
                <br>
                <br>
                <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
                        1. Can you please add build instructions to the
                  Android page? We<br>
                           should be able to build the SDK from source.<br>
                </blockquote>
                It's done the same way as for the other platforms, you
                only additionally<br>
                need to have the Android SDK and NDK and tell the build
                system where to<br>
                find it. This is not documented yet though.<br>
                <br>
                Basically you need to get cerbero from<br>
                <a href="http://cgit.freedesktop.org/gstreamer-sdk/cerbero/" target="_blank">http://cgit.freedesktop.org/gstreamer-sdk/cerbero/</a>
                and use the<br>
                config/cross-android.cbc configuration file.<br>
                <br>
                You can find some more information on cerbero in general
                in the build<br>
                from source section on<br>
                <a href="http://docs.gstreamer.com/display/GstSDK/Installing+on" target="_blank">http://docs.gstreamer.com/display/GstSDK/Installing+on</a><br>
                +Linux#InstallingonLinux-buildfromsource<br>
                <br>
                More or less the same applies for Android too. This also
                provides an<br>
                easy way for you to integrate other libraries and
                software to be used in<br>
                your application.<br>
                <br>
                <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
                        1. Do you plan on merging these changes into
                  GStreamer's main<br>
                           repository, and main branch? I ask because
                  all other platforms<br>
                           have been merged into GStreamer's main branch
                  and it's not<br>
                           clear whether you plan on merging these in
                  the future.<br>
                </blockquote>
                Yes, all changes will be merged back upstream, including
                the new<br>
                plugins.<br>
              </blockquote>
              <br>
            </div>
          </div>
          <div>
            <div>
              _______________________________________________<br>
              gstreamer-android mailing list<br>
              <a href="mailto:gstreamer-android@lists.freedesktop.org" target="_blank">gstreamer-android@lists.freedesktop.org</a><br>
              <a href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-android" target="_blank">http://lists.freedesktop.org/mailman/listinfo/gstreamer-android</a><br>
            </div>
          </div>
        </blockquote>
      </div>
      <br>
      <br clear="all">
      <br>
      -- <br>
      Andoni Morales Alastruey<br>
      <br>
      LongoMatch:The Digital Coach<br>
      <a href="http://www.longomatch.ylatuya.es" target="_blank">http://www.longomatch.ylatuya.es</a><br>
      <br>
      <fieldset></fieldset>
      <br>
      <pre>_______________________________________________
gstreamer-android mailing list
<a href="mailto:gstreamer-android@lists.freedesktop.org" target="_blank">gstreamer-android@lists.freedesktop.org</a>
<a href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-android" target="_blank">http://lists.freedesktop.org/mailman/listinfo/gstreamer-android</a>
</pre>
    </blockquote>
    <br>
  </div>

<br>_______________________________________________<br>
gstreamer-android mailing list<br>
<a href="mailto:gstreamer-android@lists.freedesktop.org">gstreamer-android@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-android" target="_blank">http://lists.freedesktop.org/mailman/listinfo/gstreamer-android</a><br>
<br></blockquote></div>