summaryrefslogtreecommitdiff
path: root/recordmydesktop/src/recordmydesktop.c
diff options
context:
space:
mode:
Diffstat (limited to 'recordmydesktop/src/recordmydesktop.c')
-rw-r--r--recordmydesktop/src/recordmydesktop.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/recordmydesktop/src/recordmydesktop.c b/recordmydesktop/src/recordmydesktop.c
index c832a3e..f30485c 100644
--- a/recordmydesktop/src/recordmydesktop.c
+++ b/recordmydesktop/src/recordmydesktop.c
@@ -30,6 +30,7 @@
int main(int argc,char **argv){
ProgData pdata;
+
int exit_status=0;
if(XInitThreads ()==0){
fprintf(stderr,"Couldn't initialize thread support!\n");
@@ -52,7 +53,10 @@ int main(int argc,char **argv){
else{
EncData enc_data;
CacheData cache_data;
-
+#ifdef HAVE_JACK_H
+ JackData jdata;
+ pdata.jdata=&jdata;
+#endif
QUERY_DISPLAY_SPECS(pdata.dpy,&pdata.specs);
if((pdata.specs.depth!=32)&&
(pdata.specs.depth!=24)&&
© All Rights Reserved