[Xineliboutput-cvslog] vdr-xineliboutput config.h, 1.67, 1.68 config.c, 1.86, 1.87
Brought to you by:
phintuka
From: Petri H. <phi...@us...> - 2009-11-16 11:16:26
|
Update of /cvsroot/xineliboutput/vdr-xineliboutput In directory fdv4jf1.ch3.sourceforge.com:/tmp/cvs-serv31494 Modified Files: config.h config.c Log Message: Added media_root_dir Index: config.h =================================================================== RCS file: /cvsroot/xineliboutput/vdr-xineliboutput/config.h,v retrieving revision 1.67 retrieving revision 1.68 diff -u -d -r1.67 -r1.68 --- config.h 31 Oct 2009 19:59:50 -0000 1.67 +++ config.h 16 Nov 2009 11:16:16 -0000 1.68 @@ -318,6 +318,7 @@ int dvb_subtitles; // send DVB subtitles in data stream (decode+display using xine-lib or external media player) // Media player + char media_root_dir[4096]; // restrict file browser char browse_files_dir[4096]; char browse_music_dir[4096]; char browse_images_dir[4096]; Index: config.c =================================================================== RCS file: /cvsroot/xineliboutput/vdr-xineliboutput/config.c,v retrieving revision 1.86 retrieving revision 1.87 diff -u -d -r1.86 -r1.87 --- config.c 25 Oct 2009 12:56:11 -0000 1.86 +++ config.c 16 Nov 2009 11:16:16 -0000 1.87 @@ -662,6 +662,7 @@ ff_h264_speed_over_accurancy = FF_H264_SPEED_OVER_ACCURACY_auto; ff_h264_skip_loop_filter = FF_H264_SKIP_LOOPFILTER_auto; + strn0cpy(media_root_dir, "/", sizeof(media_root_dir)); strn0cpy(browse_files_dir, VideoDirectory, sizeof(browse_files_dir)); strn0cpy(browse_music_dir, VideoDirectory, sizeof(browse_music_dir)); strn0cpy(browse_images_dir, VideoDirectory, sizeof(browse_images_dir)); @@ -918,6 +919,7 @@ else if (!strcasecmp(Name, "Post.denoise3d.chroma")) denoise3d_chroma = atoi(Value); else if (!strcasecmp(Name, "Post.denoise3d.time")) denoise3d_time = atoi(Value); + else if (!strcasecmp(Name, "Media.RootDir")) STRN0CPY(media_root_dir, Value); else if (!strcasecmp(Name, "Media.BrowseFilesDir")) STRN0CPY(browse_files_dir, Value); else if (!strcasecmp(Name, "Media.BrowseMusicDir")) STRN0CPY(browse_music_dir, Value); else if (!strcasecmp(Name, "Media.BrowseImagesDir")) STRN0CPY(browse_images_dir, Value); |