<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>204227</bug_id>
          
          <creation_ts>2008-01-04 01:17 0000</creation_ts>
          <short_desc>media-libs/faad2 will not exit if output pipe breaks</short_desc>
          <delta_ts>2008-05-08 12:08:23 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>Library</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>lavajoe@gentoo.org</reporter>
          <assigned_to>sound@gentoo.org</assigned_to>
          

      

      
          <long_desc isprivate="0">
            <who>lavajoe@gentoo.org</who>
            <bug_when>2008-01-04 01:17:04 0000</bug_when>
            <thetext>If using the &quot;-w&quot; option in faad and piping to another program, faad will not exit if the other program quits before faad is done.  This affects music servers that convert on-the-fly, since if a song is stopped, especially several times, faad processes will continue to eat CPU cycles until done.  I will attach the patch.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>lavajoe@gentoo.org</who>
            <bug_when>2008-01-04 01:29:19 0000</bug_when>
            <thetext>Created an attachment (id=140008)
files/faad2-2.6.1-broken-pipe.patch

Here is a patch for 2.6.1.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>aballier@gentoo.org</who>
            <bug_when>2008-01-05 19:13:48 0000</bug_when>
            <thetext>Please send the patch upstream and ping me once its applied so that I just have to backport it. They&apos;re the ones the most able to review the patches.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>lavajoe@gentoo.org</who>
            <bug_when>2008-01-05 19:31:40 0000</bug_when>
            <thetext>OK, emailed - will file a bug there if requested or no response...  Thanks!</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>lavajoe@gentoo.org</who>
            <bug_when>2008-05-06 18:50:51 0000</bug_when>
            <thetext>(Oops, forgot to send this on when I got it...)
Patch accepted by upstream and in their CVS; should be all set to incorporate.  Here&apos;s email from upstream:

------------- Received by lavajoe on 03/24/2008 ----------
Hi Joe,

Thanks a lot for the patch! I checked it and committed it to CVS. I applied
some more patches this weekend, so I&apos;ll wait for some feedback and if
everything is ok now, I will release some new packages.

Best regards,
Menno
-------------</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>lavajoe@gentoo.org</who>
            <bug_when>2008-05-08 12:08:23 0000</bug_when>
            <thetext>Patch applied in faad2-2.6.1-r1</thetext>
          </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>140008</attachid>
            <date>2008-01-04 01:29 0000</date>
            <desc>files/faad2-2.6.1-broken-pipe.patch</desc>
            <filename>faad2-2.6.1-broken-pipe.patch</filename>
            <type>text/plain</type>
            <data encoding="base64">LS0tIGZhYWQyL2Zyb250ZW5kL21haW4uY34JMjAwNy0xMS0wMSAwNjozMzoyOS4wMDAwMDAwMDAg
LTA2MDAKKysrIGZhYWQyL2Zyb250ZW5kL21haW4uYwkyMDA4LTAxLTAzIDE4OjA1OjEwLjAwMDAw
MDAwMCAtMDcwMApAQCAtNjQwLDcgKzY0MCw4IEBACiAKICAgICAgICAgaWYgKChmcmFtZUluZm8u
ZXJyb3IgPT0gMCkgJiYgKGZyYW1lSW5mby5zYW1wbGVzID4gMCkgJiYgKCFhZHRzX291dCkpCiAg
ICAgICAgIHsKLSAgICAgICAgICAgIHdyaXRlX2F1ZGlvX2ZpbGUoYXVmaWxlLCBzYW1wbGVfYnVm
ZmVyLCBmcmFtZUluZm8uc2FtcGxlcywgMCk7CisgICAgICAgICAgICBpZiAod3JpdGVfYXVkaW9f
ZmlsZShhdWZpbGUsIHNhbXBsZV9idWZmZXIsIGZyYW1lSW5mby5zYW1wbGVzLCAwKSA9PSAwKQor
ICAgICAgICAgICAgICAgIGJyZWFrOwogICAgICAgICB9CiAKICAgICAgICAgLyogZmlsbCBidWZm
ZXIgKi8KQEAgLTk3Niw3ICs5NzcsOCBAQAogCiAgICAgICAgIGlmICgoZnJhbWVJbmZvLmVycm9y
ID09IDApICYmIChzYW1wbGVfY291bnQgPiAwKSAmJiAoIWFkdHNfb3V0KSkKICAgICAgICAgewot
ICAgICAgICAgICAgd3JpdGVfYXVkaW9fZmlsZShhdWZpbGUsIHNhbXBsZV9idWZmZXIsIHNhbXBs
ZV9jb3VudCwgZGVsYXkpOworICAgICAgICAgICAgaWYgKHdyaXRlX2F1ZGlvX2ZpbGUoYXVmaWxl
LCBzYW1wbGVfYnVmZmVyLCBzYW1wbGVfY291bnQsIGRlbGF5KSA9PSAwKQorICAgICAgICAgICAg
ICAgIGJyZWFrOwogICAgICAgICB9CiAKICAgICAgICAgaWYgKGZyYW1lSW5mby5lcnJvciA+IDAp
Cg==
</data>        

          </attachment>
    </bug>

</bugzilla>