Bug 104189

Summary: (patch) Enable MMX and video grabbing for ffmpeg-devel on amd64
Product: Ports & Packages Reporter: Vladimir Kushnir <vkushnir>
Component: Individual Port(s)Assignee: freebsd-multimedia (Nobody) <multimedia>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.diff none

Description Vladimir Kushnir 2006-10-09 01:30:22 UTC
Both MMX and video (bktr) grabbing in multimedia/ffmpeg-devel are marked as i386 only while both features can be enabled for amd64 as well. Patch against current port is attached.

Fix: Patch attached with submission follows:
Comment 1 Vladimir Kushnir 2006-10-09 01:40:51 UTC
I'm very sorry, did not check a patch twice (after 3 AM L-( ). Here's 
one-liner
patch-libavformat::grab_bktr.c:

*** libavformat/grab_bktr.c.orig	Mon Oct  9 03:26:52 2006
--- libavformat/grab_bktr.c	Mon Oct  9 03:27:07 2006
***************
*** 23,29 ****
   */
  #include "avformat.h"
  #if defined(__FreeBSD__)
! # if __FreeBSD__ >= 502100
  #  include <dev/bktr/ioctl_meteor.h>
  #  include <dev/bktr/ioctl_bt848.h>
  # else
--- 23,29 ----
   */
  #include "avformat.h"
  #if defined(__FreeBSD__)
! # if __FreeBSD_version >= 502100
  #  include <dev/bktr/ioctl_meteor.h>
  #  include <dev/bktr/ioctl_bt848.h>
  # else
Comment 2 Edwin Groothuis freebsd_committer freebsd_triage 2006-10-09 12:15:58 UTC
Class Changed
From-To: maintainer-update->change-request

Fix category (submitter is not maintainer)
Comment 3 Edwin Groothuis freebsd_committer freebsd_triage 2006-10-09 12:16:18 UTC
Responsible Changed
From-To: freebsd-ports-bugs->lioux

Over to maintainer
Comment 4 Mark Linimon freebsd_committer freebsd_triage 2007-03-31 08:19:12 UTC
Responsible Changed
From-To: lioux->freebsd-multimedia

Maintainership was transferred.
Comment 5 Michael Johnson freebsd_committer freebsd_triage 2007-04-02 16:16:38 UTC
State Changed
From-To: open->closed

MMX in ffmpeg is now auto-detected, thanks! 

bktr video is out of sync from the latest ffmpeg, patches are welcome!