summaryrefslogtreecommitdiff
path: root/recordmydesktop
diff options
context:
space:
mode:
authorenselic <enselic@f606c939-3180-4ac9-a4b8-4b8779d57d0a>2008-10-03 09:14:44 +0000
committerenselic <enselic@f606c939-3180-4ac9-a4b8-4b8779d57d0a>2008-10-03 09:14:44 +0000
commit19923f8be8392c76f1ab0d195c07220b5565f7e7 (patch)
treec13851a62c42f5d46158fbea0f65ee32d59afae0 /recordmydesktop
parentc97d974e56edbe32456740ac46cb067363568ca9 (diff)
src/rmd_init_encoder.c: When not overwriting files, output what
filename that was eventually used. git-svn-id: https://recordmydesktop.svn.sourceforge.net/svnroot/recordmydesktop/trunk@565 f606c939-3180-4ac9-a4b8-4b8779d57d0a
Diffstat (limited to 'recordmydesktop')
-rw-r--r--recordmydesktop/src/rmd_init_encoder.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/recordmydesktop/src/rmd_init_encoder.c b/recordmydesktop/src/rmd_init_encoder.c
index c6d5576..72d499d 100644
--- a/recordmydesktop/src/rmd_init_encoder.c
+++ b/recordmydesktop/src/rmd_init_encoder.c
@@ -120,8 +120,11 @@ void InitEncoder(ProgData *pdata,EncData *enc_data_t,int buffer_ready){
}
- if(!pdata->args.overwrite)
+ if (!pdata->args.overwrite) {
IncrementalNaming(&(pdata)->args.filename);
+ fprintf(stderr, "Output file: %s\n", pdata->args.filename);
+ }
+
enc_data_t->fp=fopen((pdata)->args.filename,"w");
if(enc_data_t->fp==NULL){
fprintf(stderr,"Cannot open file %s for writting!\n",
© All Rights Reserved