[ATrpms-devel] Errors rebuilding mplayer package

Henry Leinhos henry-list at leinhos.com
Sun Feb 25 16:10:08 CET 2007


On Sat, 2007-02-24 at 23:07 +0100, Axel Thimm wrote:
> On Sat, Feb 24, 2007 at 01:40:36PM -0800, Henry Leinhos wrote:
> > Axel Thimm writes: 

> I'll check the ivtv list, I'm on it. But if you see any mention of an
> ivtv patch for mplayer elsewhere (mplayer lists?) that works for you,
> ping me please, thanks!

The required change for the latest mplayer (1.0rc1 as well as svn trunk)
is just a trivial struct change:

--- mplayer-svn/libvo/vo_ivtv.c 2007-02-25 07:22:48.000000000 -0500
+++ MPlayer-1.0rc1/libvo/vo_ivtv.c      2007-02-25 08:37:07.000000000
-0500
@@ -79,8 +79,8 @@
   struct ivtv_cfg_stop_decode sd;
   struct ivtv_cfg_start_decode sd1;
 
-  sd.hide_last = blank_screen;
-  sd.pts_stop = 0;
+  sd.flags = blank_screen;
+  sd.pts = 0;
  
   if (ioctl (ivtv_fd, IVTV_IOC_STOP_DECODE, &sd) < 0)
   {



with this patch I can now rebuild the mplayer src.rpm with ivtv support
(and it even works!)

Henry





More information about the atrpms-devel mailing list