<?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>186935</bug_id>
          
          <creation_ts>2007-07-28 21:50 0000</creation_ts>
          <short_desc>media-libs/mlt need --avformat-swscale if media-video/ffmpeg-0.4.9_p20070616-r1 is installed</short_desc>
          <delta_ts>2007-08-21 08:59:25 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>Ebuilds</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>
          
          <blocked>188621</blocked>
          
          <everconfirmed>1</everconfirmed>
          <reporter>roberto.castagnola@gmail.com</reporter>
          <assigned_to>media-video@gentoo.org</assigned_to>
          

      

      
          <long_desc isprivate="0">
            <who>roberto.castagnola@gmail.com</who>
            <bug_when>2007-07-28 21:50:38 0000</bug_when>
            <thetext>kdenlive (0.5svn not in tree) fails to start with this error:
Failed to load plugin: /usr/share/mlt/modules/libmltavformat.so: undefined symbol: img_convert
Same error importing video-files if using kdenlive-0.4

Checking http://forums.gentoo.org/viewtopic-t-553542.html I found out that media-video/ffmpeg-0.4.9_p20070616-r1 is automatically configured with swscale enabled, but mlt has it disabled.

proposed patch:
--- /usr/portage/media-libs/mlt/mlt-0.2.3.ebuild        2007-04-26 20:05:49.000000000 +0200
+++ mlt-0.2.3.ebuild    2007-07-28 22:59:22.000000000 +0200
@@ -65,6 +65,9 @@
                        $(use_enable xml westley)
                        $(use_enable xine)&quot;

+       use ffmpeg &amp;&amp; has_version &quot;&gt;=media-video/ffmpeg-0.4.9_p20070616-r1&quot; &amp;&amp;
+               myconf=&quot;${myconf} --avformat-swscale&quot;
+
        (use quicktime || use dv) ||  myconf=&quot;${myconf} --disable-kino&quot;

        econf ${myconf} || die &quot;econf failed&quot;


with this patch applied I can start kdenlive-0.5svn (or open video-files with kdenlive-0.4)</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>aballier@gentoo.org</who>
            <bug_when>2007-08-21 08:59:25 0000</bug_when>
            <thetext>fixed while bumping to 0.2.4, thanks</thetext>
          </long_desc>
      
    </bug>

</bugzilla>