changeset 3378:f62a86a9ecf1

no filename needed for tv grabbing
author alex
date Sat, 08 Dec 2001 02:47:55 +0000
parents 4723f6fd750a
children 84ed0593187c
files mencoder.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mencoder.c	Sat Dec 08 01:43:02 2001 +0000
+++ b/mencoder.c	Sat Dec 08 02:47:55 2001 +0000
@@ -327,7 +327,7 @@
 
   num_filenames=parse_command_line(conf, argc, argv, envp, &filenames);
   if(num_filenames<0) exit(1); // error parsing cmdline
-  if(!num_filenames && !vcd_track && !dvd_title){
+  if(!num_filenames && !vcd_track && !dvd_title && !tv_param_on){
 	printf("\nMissing filename!\n\n");
 	exit(1);
   }