Mailing List archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[vdr] Re: softdevice Xv output



Stefan Lucke wrote:
> has someone tested Xv output ?
> Does it work for others ?

0.0.5pre1 works with your patch but you seem to use a different
(older?) ffmpeg. I needed the following change:

Index: softdevice-0.0.5/mpeg2decoder.c
===================================================================
--- softdevice-0.0.5.orig/mpeg2decoder.c	2004-01-23 20:03:00.000000000 +0100
+++ softdevice-0.0.5/mpeg2decoder.c	2004-01-23 20:24:39.000000000 +0100
@@ -324,6 +324,7 @@
 	    }
 	    if (frametime == 40 && context->hurry_up) context->hurry_up--;
 	    if (context->hurry_up < 3) {
+#if 0
         // Stefan Lucke: test code to report aspect changes
         {
             static float aspect_F = -100.0;
@@ -340,7 +341,9 @@
             aspect_F = context->aspect_ratio;
           }
         }
-      videoOut->CheckAspect(context->dtg_active_format,context->aspect_ratio);
+#endif
+      videoOut->CheckAspect(context->dtg_active_format,
+		      context->sample_aspect_ratio.num/context->sample_aspect_ratio.den);
       videoOut->YUV(picture->data[0], picture->data[1],picture->data[2],
 		context->width,context->height,picture->linesize[0],picture->linesize[1]);
 	    }



IMHO Xv output doesn't make much sense in it's current form though.
I start vdr during boot before X so I would prefer a separate
program that runs under a different user and connects to vdr later.
Something like the xine plugin but without the xine part :-).

cu
Ludwig

-- 
(o_  Ludwig.Nussel@gmx.de
//\  PGP Key ID: FF8135CE
V_/_ ICQ:        52166811


-- 
Info:
To unsubscribe send a mail to ecartis@linuxtv.org with "unsubscribe vdr" as subject.



Home | Main Index | Thread Index