Author: pabs
Date: 2011-02-21 07:27:07 +0000 (Mon, 21 Feb 2011)
New Revision: 11819

Modified:
   packages/trunk/jugglemaster/debian/patches/wx26_trans_ffmpeg.patch
Log:
fix ffmpeg rendering

Modified: packages/trunk/jugglemaster/debian/patches/wx26_trans_ffmpeg.patch
===================================================================
--- packages/trunk/jugglemaster/debian/patches/wx26_trans_ffmpeg.patch  
2011-02-21 06:58:20 UTC (rev 11818)
+++ packages/trunk/jugglemaster/debian/patches/wx26_trans_ffmpeg.patch  
2011-02-21 07:27:07 UTC (rev 11819)
@@ -30,7 +30,7 @@
        if(outputfile == NULL) return 1;
  
        avcodec_init();
-@@ -559,8 +559,8 @@
+@@ -559,10 +559,11 @@
        c->width = jmlib->getImageWidth();
        c->height = jmlib->getImageHeight();
        /* c->frame_rate = 70/delay->GetValue(); */
@@ -40,7 +40,10 @@
 +      c->time_base.num = 1;
        c->gop_size = 30;
        c->max_b_frames=1;
++      c->pix_fmt = PIX_FMT_YUV420P;
  
+       if (avcodec_open(c, codec) < 0) {
+               return(1);
 --- a/src/jmdlx/Makefile
 +++ b/src/jmdlx/Makefile
 @@ -9,8 +9,7 @@


_______________________________________________
Pkg-games-commits mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/pkg-games-commits

Reply via email to