Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 166986 - media-video/ffmpeg - USE="theora" doesn't work (patch)
Summary: media-video/ffmpeg - USE="theora" doesn't work (patch)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High minor
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-02-15 09:37 UTC by Guillaume Pujol
Modified: 2007-04-01 10:24 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
patch against ffmpeg-0.4.9_p20070129.ebuild (ffmpeg-ebuild-theora-support.patch,1.26 KB, patch)
2007-02-15 09:39 UTC, Guillaume Pujol
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Guillaume Pujol 2007-02-15 09:37:18 UTC
I noticed while compiling ffmpeg-0.4.9_p20070129.ebuild that although USE="theora" being activated, ffmpeg ebuild doesn't enable theora support via --enable-libtheora passed to ./configure

# USE=theora emerge -atv ffmpeg

[ebuild   R   ] media-video/ffmpeg-0.4.9_p20070129  USE="aac dts encode ieee1394 imlib mmx ogg theora threads truetype v4l vorbis x264 xvid zlib -a52 (-altivec) -amr -debug -doc -network -oss -sdl -test" 0 kB

>>> Emerging (1 of 1) media-video/ffmpeg-0.4.9_p20070129 to /
 * ffmpeg-0.4.9-p20070129.tar.bz2 MD5 ;-) ...                                                                                          [ ok ]

[ 
...
snip 
...
]

libnut enabled            no
libogg enabled            yes
libtheora enabled         no       <== LOOK HERE
libvorbis enabled         yes

---

Actually, ffmpeg ebuild has IUSE="theora", but setting USE=theora does NOTHING to ffmpeg, not even pull in a dependency to media-libs/libtheora.

I checked the latest stable version off ffmpeg (0.4.9-20061016), and the situation is the same.

I'm not sure if it is a mistake or a feature. I'll attach a simple patch to activate theora support properly.

Regards,

Reproducible: Always

Steps to Reproduce:
Comment 1 Guillaume Pujol 2007-02-15 09:39:17 UTC
Created attachment 110234 [details, diff]
patch against ffmpeg-0.4.9_p20070129.ebuild

this patch enables theora support properly in the latest ffmpeg ebuild
Comment 2 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2007-03-31 20:16:55 UTC
It is fixed in >=ffmpeg-0.4.9_p20070325.
Comment 3 Guillaume Pujol 2007-04-01 10:24:56 UTC
Yes I noticed :). Closing.