Re: xineliboutput vdpau crop

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

 



Kimmo Taskinen wrote:
> Hi,
> 
> Couple of issues I reported earlier (see below) have now merged to xineliboutput-plugin.
[...]
> > 1. Cropping is not reseted if I switch to 16:9 channel that has the same resolution as 4:3 channel that has turned on the cropping.
> > 2. DVB subtitles are not positioned correctly during cropping if vdr-sxfe is used to show subtitles. Vertical alignment is about at half of the screen.

Are you using vdpau ?

Does the attached patch fix issue 2 ?


- Petri
Index: xine_post_autocrop.c
===================================================================
RCS file: /cvsroot/xineliboutput/vdr-xineliboutput/xine_post_autocrop.c,v
retrieving revision 1.36
diff -u -r1.36 xine_post_autocrop.c
--- xine_post_autocrop.c	3 Jan 2010 19:29:50 -0000	1.36
+++ xine_post_autocrop.c	3 Jan 2010 20:25:26 -0000
@@ -1459,6 +1512,12 @@
       case 0:
 	/* regular subtitle */
 	/* Subtitle overlays must be coming somewhere inside xine engine */
+#ifdef VO_CAP_CUSTOM_EXTENT_OVERLAY
+        /* Do not move overlay if video_out has independent video and OSD resolutions */
+        if (event->object.overlay->extent_width  > 0 &&
+            event->object.overlay->extent_height > 0)
+          break;
+#endif
         if (use_driver_crop) {
           if(this->has_driver_crop) {
             if(!event->object.overlay->unscaled || !this->has_unscaled_overlay) {
_______________________________________________
vdr mailing list
vdr@xxxxxxxxxxx
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr

[Index of Archives]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Util Linux NG]     [Xfree86]     [Big List of Linux Books]     [Fedora Users]     [Fedora Women]     [ALSA Devel]     [Linux USB]

  Powered by Linux