Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 340639 - media-video/vlc - snapshot is hard coded to be disabled
Summary: media-video/vlc - snapshot is hard coded to be disabled
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-10-12 07:59 UTC by James Lockie
Modified: 2010-10-14 01:26 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description James Lockie 2010-10-12 07:59:17 UTC
vlc is hard coded to be disable-snapshot.
Tools->Messages shows:
main error: Encoding support not compiled-in!
main error: Failed to convert image for snapshot

The fix is to edit /var/db/pkg/media-video/vlc-1.1.4.1/vlc-1.1.4.1.ebuild

and change --disable-snapshot to --enable-snapshot
and comment out
# $(use_enable stream sout) \
# $(vlc_use_enable_force vlm sout) \

the run:
ebuild /usr/portage/media-video/vlc/vlc-1.1.4.1.ebuild manifest
Comment 1 Alexis Ballier gentoo-dev 2010-10-12 21:02:34 UTC
It is definitely unclear to me what you are trying to do and how you get this message. You should at least post emerge -pv vlc to see what useflags you have enabled and whatnot.

Judging from your 'fix', may I suggest you to try again by enabling the 'stream' useflag ?
Comment 2 James Lockie 2010-10-13 05:34:43 UTC
I enabled the 'stream' USE flag.

./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --libdir=/usr/lib64 --enable-a52 --disable-aa --enable-faad --enable-alsa --disable-altivec --disable-asademux --disable-atmo --disable-bonjour --disable-fribidi --enable-vcd --enable-libcddb --enable-dbus --enable-dbus-control --disable-dirac --disable-directfb --enable-dc1394 --disable-debug --disable-dca --disable-dvb --enable-dvdread --enable-dvdnav --disable-fb --enable-avcodec --enable-avformat --enable-swscale --enable-postproc --disable-flac --disable-fluidsynth --disable-fontconfig --disable-ggi --disable-gnomevfs --enable-gnutls --disable-httpd --disable-id3tag --enable-dv --disable-jack --disable-kate --with-kde-solid --disable-libass --disable-caca --enable-libgcrypt --disable-notify --disable-libproxy --disable-libtar --disable-tiger --disable-libv4l --enable-libv4l2 --enable-lirc --disable-live555 --disable-lua --disable-mkv --enable-mmx --disable-mod --enable-mad --enable-libmpeg2 --disable-mtp --disable-mpc --enable-ncurses --enable-mozilla --with-mozilla-pkg=libxul --enable-ogg --enable-glx --enable-opengl --disable-optimize-memory --disable-oss --enable-png --disable-portaudio --disable-projectm --disable-pulse --disable-pvr --enable-qt4 --disable-remoteosd --disable-realrtsp --disable-run-as-root --disable-smb --disable-schroedinger --enable-sdl --disable-sdl-image --disable-shine --disable-shout --disable-skins2 --disable-speex --enable-sqlite --enable-sse --enable-sout --enable-svg --disable-svgalib --disable-taglib --disable-theora --disable-freetype --disable-twolame --disable-udev --disable-upnp --enable-v4l --enable-v4l2 --disable-vcdx --disable-libva --disable-vlm --enable-vorbis --disable-loader --disable-wma-fixed --with-x --disable-x264 --enable-xcb --enable-libxml2 --disable-xosd --disable-xvideo --disable-zvbi --enable-telx --disable-snapshot --disable-growl --disable-optimizations --enable-fast-install --enable-libgcrypt --enable-xcb

It works. :-)
Comment 3 Alexis Ballier gentoo-dev 2010-10-14 01:26:05 UTC
closing as invalid then