[xineliboutput] remove top/bottom black borders (patch suggested)

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

 



Hi,

some shows though being sent in native 16:9 still have black borders at top and bottom of the pics. To some extent this can be reduced but not completely removed by setting Overscan to 10% (don't confuse with Overscan Compensation) in xineliboutputs video menu. After some investigation i found a very simple patch that allows one to set Overscan to values > 10 % (i limited to 20% in the patch). Furthermore i changed the sequence of the settings in xineliboutputs Video menu to make Overscan the topmost setting, so one now could configure some User keys in keymacros.conf. Feel free to play around with it.

************************************SNIP*****************************

diff -Naur vdr-plugin-xineliboutput//setup_menu.c /usr/src/vdr/PLUGINS/src/vdr-plugin-xineliboutput/setup_menu.c --- vdr-plugin-xineliboutput//setup_menu.c 2012-05-08 01:34:30.000000000 +0200 +++ /usr/src/vdr/PLUGINS/src/vdr-plugin-xineliboutput/setup_menu.c 2012-05-08 23:58:03.000000000 +0200
@@ -580,6 +580,11 @@

   Add(SeparatorItem(tr("Video")));

+  Add(ctrl_overscan =
+      new cMenuEditTypedIntItem(tr("Overscan (crop image borders)"), "%",
+ &newconfig.overscan, 0, 20,
+                               tr("Off")));
+
   Add(ctrl_vo_aspect_ratio =
new cMenuEditStraI18nItem(tr("Aspect ratio"), &newconfig.vo_aspect_ratio,
                                   VO_ASPECT_count, xc.s_vo_aspects));
@@ -668,10 +673,6 @@
     }
   }

-  Add(ctrl_overscan =
-      new cMenuEditTypedIntItem(tr("Overscan (crop image borders)"), "%",
- &newconfig.overscan, 0, 10,
-                               tr("Off")));

   Add(ctrl_pp = new cMenuEditBoolItem(tr("Post processing (ffmpeg)"),
&newconfig.ffmpeg_pp));

************************************SNIP*****************************

hf

Michael

_______________________________________________
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