freebsd-ports/multimedia/vdr-plugin-xineliboutput/files/patch-config.c
Juergen Lock 9531ac93c5 http://www.linuxtv.org/vdrwiki/index.php/Xineliboutput-plugin
X11 and Linux framebuffer front-end for VDR.
Plugin displays video and OSD in X/Xv/XvMC/VAAPI/VDPAU window,
Linux framebuffer/DirectFB/vidixfb or DXR3 card.

Support for local and remote frontends.

Built-in image and media player supports playback of most known
media files (avi/mp3/divx/jpeg/...), DVDs and radio/video streams
(http, rtsp, ...) directly from VDR.

FreeBSD Note:  If you want to use VAAPI/VDPAU make sure the ffmpeg
and libxine ports are (re)built with the corresponding knobs turned on!
(make config in their port dirs.)

WWW: http://sourceforge.net/projects/xineliboutput/
2011-03-26 19:21:47 +00:00

14 lines
589 B
C

--- a/config.c
+++ b/config.c
@@ -544,7 +544,11 @@ config_t::config_t() {
memset(audio_equalizer,0,sizeof(audio_equalizer));
strn0cpy(audio_visualization, "goom", sizeof(audio_visualization));
strn0cpy(audio_vis_goom_opts, "fps:25,width:720,height:576", sizeof(audio_vis_goom_opts));
+#ifdef LOCALBASE
+ strn0cpy(audio_vis_image_mrl, "file:" LOCALBASE "/share/xine/visuals/default.avi", sizeof(audio_vis_image_mrl));
+#else
strn0cpy(audio_vis_image_mrl, "file:/usr/share/xine/visuals/default.avi", sizeof(audio_vis_image_mrl));
+#endif
headphone = 0;
audio_upmix = 0;