Codebase list xjadeo / upstream/0.7.7
Imported Upstream version 0.7.7 Jaromír Mikeš 9 years ago
9 changed file(s) with 50 addition(s) and 12 deletion(s). Raw diff Collapse all Expand all
0 2014-06-06 (0.7.7) Robin Gareus <robin@gareus.org>
1 * add -J option (don't connect to jackd by default)
2 * fix registry key for windows installer
3 * updates for libav
4 * Fix hardening for qjadeo, passed CPPFLAGS and LDFLAGS to qmake. (from mira)
5 * Misspelling patch (also by Jaromír Mikeš)
6
07 2013-08-08 (0.7.6) Robin Gareus <robin@gareus.org>
18 * fix DAR, SAR aspect ratio and odd-number of lines
29 * detect jack-latency API independently from jack-sessio
250250 /* #undef TTFFONTFILE */
251251
252252 /* Version number of package */
253 #define VERSION "0.7.6"
253 #define VERSION "0.7.7"
254254
255255 /* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most
256256 significant byte first (like Motorola and SPARC, unlike Intel). */
26892689
26902690 VERSION_MAJOR=0
26912691 VERSION_MINOR=7
2692 VERSION_SUB=6
2692 VERSION_SUB=7
26932693
26942694 am__api_version='1.11'
26952695
77
88 VERSION_MAJOR=0
99 VERSION_MINOR=7
10 VERSION_SUB=6
10 VERSION_SUB=7
1111
1212 dnl Every other copy of the package version number gets its value from here
1313 AM_INIT_AUTOMAKE(xjadeo, [${VERSION_MAJOR}.${VERSION_MINOR}.${VERSION_SUB}])
487487
488488 <important>
489489 <para><application>Xjadeo</application>'s <option>-K</option> option
490 allows to seek to frames other than key-frames and enables
490 allows one to seek to frames other than key-frames and enables
491491 <application>Xjadeo</application> to play back any file without
492492 transcoding. The down side is increased CPU usage and possibly
493493 increased seek latency. The latter depends on the key-frame interval
1414
1515 #QMAKE_CXXFLAGS_WARN_ON += -Wno-non-virtual-dtor
1616
17 QMAKE_LFLAGS += $(LDFLAGS)
18
19 QMAKE_CXXFLAGS += $(CPPFLAGS)
20
1721 TRANSLATIONS = qjadeo_fr.ts qjadeo_ru.ts qjadeo_cs.ts
1822
1923 DEFINES += QT_NO_DEBUG_OUTPUT
119119 int want_autodrop =1; /* --nodropframes -n (hidden option) -- allow using drop-frame timecode */
120120 int avoid_lash =0; /* --nolash */
121121 int remote_en =0; /* --remote, -R */
122 int no_initial_sync =0; /* --nosyncsource, -J */
122123 int osc_port =0; /* --osc, -O */
123124 int mq_en =0; /* --mq, -Q */
124125 char *ipc_queue = NULL; /* --ipc, -W */
214215 {"videomode", required_argument, 0, 'x'},
215216 {"vo", required_argument, 0, 'x'},
216217 {"remote", no_argument, 0, 'R'},
218 {"noinitialsync", no_argument, 0, 'J'},
217219 {"mq", no_argument, 0, 'Q'},
218220 {"ipc", required_argument, 0, 'W'},
219221 {"help", no_argument, 0, 'h'},
292294 #endif
293295 "D" /* debug */
294296 "L" /* no lash */
297 "J" /* no jack / no-initial sync */
295298 "V", /* version */
296299 long_options, (int *) 0)) != EOF)
297300 {
448451 break;
449452 case 'T':
450453 strcpy(OSD_fontfile, optarg);
454 break;
455 case 'J':
456 no_initial_sync = 1;
451457 break;
452458 case 'h':
453459 usage (0);
832838 }
833839 #endif
834840
835 if (atoi(midiid) >= -1 ) {
841 if (no_initial_sync) {
842 if (!(remote_en || mq_en || ipc_queue || osc_port)) {
843 fprintf(stderr, "Warning: There is no Initial sync-source, and no remote-control enbled to\nchange the sync source. Do not use '-J' option (unless you're testing).\n");
844 }
845 }
846 else if (atoi(midiid) >= -1 ) {
836847 if (!want_quiet)
837848 printf("using MTC as sync-source.\n");
838849 midi_open(midiid);
2828 #else
2929 #include <libavutil/avutil.h>
3030 #include <libavutil/mathematics.h>
31 #include <libavutil/mem.h>
3132 #endif
3233
3334 #ifndef PIX_FMT_BGRA32
4848 int want_nofork = 0; /*< --nofork ; donT launch xjadeo */
4949 char *qid = NULL; /*< -I <arg> - name of the MQ */
5050 int want_create = 0; /*< unused - only xjadeo create queues */
51 int no_initial_sync =0; /* --nosyncsource, -J */
5152
5253 int xjr_mute = 1; /*< 1: mute all but '8xx' messages
5354 * 2: dont display any replies
6465 {"unlinkonly", no_argument, 0, 'U'},
6566 {"id", required_argument, 0, 'I'},
6667 {"noping", required_argument, 0, 'P'},
68 {"noinitialsync", no_argument, 0, 'J'},
6769 {"version", no_argument, 0, 'V'},
6870 {NULL, 0, NULL, 0}
6971 };
8284 "u" /* unlink */
8385 "U" /* unlinkonly */
8486 "P" /* noping */
87 "J" /* no jack / no-initial sync */
8588 "V", /* version */
8689 long_options, (int *) 0)) != EOF)
8790 { switch (c) {
111114 case 'R':
112115 case 'Q':
113116 case 'W':
117 break;
118 case 'J':
119 no_initial_sync = 1;
114120 break;
115121 case 'V':
116122 printversion();
184190
185191 if (xjadeo) {
186192 printf("# executing: %s\n",xjadeo);
187 if (flags&1) {
193 if (flags&1) {
188194 close(0);
189195 dup2(open("/dev/null", 0), 1);
190196 dup2(open("/dev/null", 0), 2);
191197 }
192 if (flags&4)
193 execl(xjadeo,"xjadeo", "-q", "-W", queuefile, NULL);
194 else if (flags&2)
195 execl(xjadeo,"xjadeo", "-R", NULL);
196 else
197 execl(xjadeo,"xjadeo", "-Q", "-q", NULL);
198 if (no_initial_sync) {
199 if (flags&4)
200 execl(xjadeo,"xjadeo", "-J", "-q", "-W", queuefile, NULL);
201 else if (flags&2)
202 execl(xjadeo,"xjadeo", "-J", "-R", NULL);
203 else
204 execl(xjadeo,"xjadeo", "-J", "-Q", "-q", NULL);
205 } else {
206 if (flags&4)
207 execl(xjadeo,"xjadeo", "-q", "-W", queuefile, NULL);
208 else if (flags&2)
209 execl(xjadeo,"xjadeo", "-R", NULL);
210 else
211 execl(xjadeo,"xjadeo", "-Q", "-q", NULL);
212 }
198213 } else {
199214 printf("# no xjadeo executable found. try to set the XJADEO env. variable\n");
200215 }