[PATCH] vdr -v ... --edit ignores -v to set videodir

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

 



Hi all,

I am not sure if this was reported already, but I encountered this bug when trying to edit a recording without setting up VDR:

./vdr -v /tmp/video --edit /tmp/video/Rec_name/2013-08-12.20.58.50.99.rec

Without the attached patch, VDR would try to create /srv/vdr/video, and would fail to cut the recording.

With the patch, VDR successfully cut the recording. The source files were in PES format, and also the new recording is in PES format. Based on a discussion from 2008, this is the expected behaviour. Is there some tool for converting old PES recordings to TS format?

	Marko

--- vdr.c	2013-10-16 12:46:36.000000000 +0300
+++ vdr.c	2013-12-16 18:47:42.526981566 +0200
@@ -331,6 +331,7 @@ int main(int argc, char *argv[])
		     }
		     break;
	   case 'e' | 0x100:
+                    SetVideoDirectory(VideoDirectory);
		     return CutRecording(optarg) ? 0 : 2;
	   case 'E': EpgDataFileName = (*optarg != '-' ? optarg : NULL);
		     break;

_______________________________________________
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