mirror of
https://github.com/vdr-projects/vdr.git
synced 2025-03-01 10:50:46 +00:00
Implemented FHS support; fixed handling config directory if only -v is given
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
* See the main source file 'vdr.c' for copyright information and
|
||||
* how to reach the author.
|
||||
*
|
||||
* $Id: videodir.c 2.2 2012/06/10 13:45:21 kls Exp $
|
||||
* $Id: videodir.c 2.3 2012/09/01 10:57:44 kls Exp $
|
||||
*/
|
||||
|
||||
#include "videodir.h"
|
||||
@@ -21,6 +21,11 @@
|
||||
|
||||
const char *VideoDirectory = VIDEODIR;
|
||||
|
||||
void SetVideoDirectory(const char *Directory)
|
||||
{
|
||||
VideoDirectory = strdup(Directory);
|
||||
}
|
||||
|
||||
class cVideoDirectory {
|
||||
private:
|
||||
char *name, *stored, *adjusted;
|
||||
|
||||
Reference in New Issue
Block a user