<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Thanks Kris,<br>
    <br>
    I have now successfully imported that code into my program and it
    works nicely.<br>
    <br>
    Ian<br>
    <br>
    <div class="moz-cite-prefix">On 13/02/2013 00:58, Krzysztof Konopko
      wrote:<br>
    </div>
    <blockquote
cite="mid:CAPq8Ph8o3echjzG4P5NGS6JkYR62RqOh4BLMr9JXSgpwOnjWFA@mail.gmail.com"
      type="cite">
      <div dir="ltr">I meant <span
          style="color:rgb(51,51,51);white-space:pre-wrap">g_unix_signal_add()
          rather than</span><span
          style="font-family:arial,sans-serif;font-size:13px"> </span><span
style="font-family:arial,sans-serif;font-size:13px;color:rgb(51,51,51);white-space:pre-wrap">g_source_set_callback()
          directly.</span>
        <div>
          <span
style="font-family:arial,sans-serif;font-size:13px;color:rgb(51,51,51);white-space:pre-wrap"><br>
          </span></div>
        <div style=""><span
style="font-family:arial,sans-serif;font-size:13px;color:rgb(51,51,51);white-space:pre-wrap">Kris</span></div>
      </div>
      <div class="gmail_extra"><br>
        <br>
        <div class="gmail_quote">2013/2/13 Krzysztof Konopko <span
            dir="ltr"><<a moz-do-not-send="true"
              href="mailto:krzysztof.konopko@gmail.com" target="_blank">krzysztof.konopko@gmail.com</a>></span><br>
          <blockquote class="gmail_quote" style="margin:0 0 0
            .8ex;border-left:1px #ccc solid;padding-left:1ex">
            <div dir="ltr">I replaced the patch with the one that uses <span
                style="color:rgb(51,51,51);white-space:pre-wrap">g_source_set_callback().
                It looks like an elegant approach. If you can't be
                bothered and depend on GLib anyway (e. g. through
                GStreamer) then this looks like something that makes the
                life much easier.</span>
              <div>
                <span style="color:rgb(51,51,51);white-space:pre-wrap"><br>
                </span></div>
              <div><font color="#333333"><span
                    style="white-space:pre-wrap">Credits to Tim for this
                    nice API spot.</span></font></div>
              <div><font color="#333333"><span
                    style="white-space:pre-wrap"><br>
                  </span></font></div>
              <div><font color="#333333"><span
                    style="white-space:pre-wrap">Cheers,</span></font></div>
              <div><font color="#333333"><span
                    style="white-space:pre-wrap">Kris</span></font></div>
            </div>
            <div class="HOEnZb">
              <div class="h5">
                <div class="gmail_extra">
                  <br>
                  <br>
                </div>
              </div>
            </div>
          </blockquote>
        </div>
        <br>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
gstreamer-devel mailing list
<a class="moz-txt-link-abbreviated" href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.freedesktop.org</a>
<a class="moz-txt-link-freetext" href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel">http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>