Summary: | media-video/vlc-1.1.0 VDPAU support | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Frank Richter <res> |
Component: | New packages | Assignee: | Alexis Ballier <aballier> |
Status: | RESOLVED FIXED | ||
Severity: | enhancement | CC: | media-video |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | 317317 | ||
Bug Blocks: | |||
Attachments: |
Proposed ebuild
Diff to vlc-1.1.0_pre2 ebuild for VDPAU additions Patch for libva support, against vlc-1.1.9999 ebuild Patch for libva support, against vlc-1.1.9999 ebuild |
Description
Frank Richter
2010-04-26 15:15:19 UTC
Created attachment 229257 [details]
Proposed ebuild
Please attach unified diffs (diff -u) when you did changes to an ebuild. That would be much more handy for our devs. Created attachment 229261 [details, diff]
Diff to vlc-1.1.0_pre2 ebuild for VDPAU additions
(In reply to comment #2) > Please attach unified diffs (diff -u) when you did changes to an ebuild. That > would be much more handy for our devs. Sure, here you go. Something else I just want to note: the use flag is called "vdpau", mostly because ffmpeg uses that same flag. If you wanted to be accurate, the flag would have to be "vaapi"(or "libva") - since that is what VLC actually uses. (In general, "vdpau" and "vaapi" are sort of independent - libva doesn't require vdpau; conversely, an application may use vdpau directly and not through vaapi.) please attach diffs to 1.1.9999 and -9999; pre2 will never be unmasked and i'll use 1.1.9999 for future releases. i'd prefer the useflag named libva; i don't think it's dependant on vdpau and vlc seems to only need libva and libva-x11 the configure script will die if --disable-avcodec and --enable-libva is given, you should use vlc_use_force and { vlc_use_enable_force at the end of the econf line } this means you'll need to add the ffmpeg dep under the libva/vdpau useflag rather than duplicating it under the ffmpeg useflag Created attachment 231235 [details]
Patch for libva support, against vlc-1.1.9999 ebuild
Worked in suggestions.
Note, the patch against vlc-9999.ebuild is exactly the same, so I won't attach that as well :p
Created attachment 231237 [details, diff]
Patch for libva support, against vlc-1.1.9999 ebuild
Same file, but properly marked as patch.
patch applied, thanks; the useflag is named vaapi in the end; to match ffmpeg |