Imported Upstream version 0.7.7
Jaromír Mikeš
9 years ago
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 | ||
0 | 7 | 2013-08-08 (0.7.6) Robin Gareus <robin@gareus.org> |
1 | 8 | * fix DAR, SAR aspect ratio and odd-number of lines |
2 | 9 | * detect jack-latency API independently from jack-sessio |
250 | 250 | /* #undef TTFFONTFILE */ |
251 | 251 | |
252 | 252 | /* Version number of package */ |
253 | #define VERSION "0.7.6" | |
253 | #define VERSION "0.7.7" | |
254 | 254 | |
255 | 255 | /* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most |
256 | 256 | significant byte first (like Motorola and SPARC, unlike Intel). */ |
2689 | 2689 | |
2690 | 2690 | VERSION_MAJOR=0 |
2691 | 2691 | VERSION_MINOR=7 |
2692 | VERSION_SUB=6 | |
2692 | VERSION_SUB=7 | |
2693 | 2693 | |
2694 | 2694 | am__api_version='1.11' |
2695 | 2695 |
7 | 7 | |
8 | 8 | VERSION_MAJOR=0 |
9 | 9 | VERSION_MINOR=7 |
10 | VERSION_SUB=6 | |
10 | VERSION_SUB=7 | |
11 | 11 | |
12 | 12 | dnl Every other copy of the package version number gets its value from here |
13 | 13 | AM_INIT_AUTOMAKE(xjadeo, [${VERSION_MAJOR}.${VERSION_MINOR}.${VERSION_SUB}]) |
487 | 487 | |
488 | 488 | <important> |
489 | 489 | <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 | |
491 | 491 | <application>Xjadeo</application> to play back any file without |
492 | 492 | transcoding. The down side is increased CPU usage and possibly |
493 | 493 | increased seek latency. The latter depends on the key-frame interval |
14 | 14 | |
15 | 15 | #QMAKE_CXXFLAGS_WARN_ON += -Wno-non-virtual-dtor |
16 | 16 | |
17 | QMAKE_LFLAGS += $(LDFLAGS) | |
18 | ||
19 | QMAKE_CXXFLAGS += $(CPPFLAGS) | |
20 | ||
17 | 21 | TRANSLATIONS = qjadeo_fr.ts qjadeo_ru.ts qjadeo_cs.ts |
18 | 22 | |
19 | 23 | DEFINES += QT_NO_DEBUG_OUTPUT |
119 | 119 | int want_autodrop =1; /* --nodropframes -n (hidden option) -- allow using drop-frame timecode */ |
120 | 120 | int avoid_lash =0; /* --nolash */ |
121 | 121 | int remote_en =0; /* --remote, -R */ |
122 | int no_initial_sync =0; /* --nosyncsource, -J */ | |
122 | 123 | int osc_port =0; /* --osc, -O */ |
123 | 124 | int mq_en =0; /* --mq, -Q */ |
124 | 125 | char *ipc_queue = NULL; /* --ipc, -W */ |
214 | 215 | {"videomode", required_argument, 0, 'x'}, |
215 | 216 | {"vo", required_argument, 0, 'x'}, |
216 | 217 | {"remote", no_argument, 0, 'R'}, |
218 | {"noinitialsync", no_argument, 0, 'J'}, | |
217 | 219 | {"mq", no_argument, 0, 'Q'}, |
218 | 220 | {"ipc", required_argument, 0, 'W'}, |
219 | 221 | {"help", no_argument, 0, 'h'}, |
292 | 294 | #endif |
293 | 295 | "D" /* debug */ |
294 | 296 | "L" /* no lash */ |
297 | "J" /* no jack / no-initial sync */ | |
295 | 298 | "V", /* version */ |
296 | 299 | long_options, (int *) 0)) != EOF) |
297 | 300 | { |
448 | 451 | break; |
449 | 452 | case 'T': |
450 | 453 | strcpy(OSD_fontfile, optarg); |
454 | break; | |
455 | case 'J': | |
456 | no_initial_sync = 1; | |
451 | 457 | break; |
452 | 458 | case 'h': |
453 | 459 | usage (0); |
832 | 838 | } |
833 | 839 | #endif |
834 | 840 | |
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 ) { | |
836 | 847 | if (!want_quiet) |
837 | 848 | printf("using MTC as sync-source.\n"); |
838 | 849 | midi_open(midiid); |
28 | 28 | #else |
29 | 29 | #include <libavutil/avutil.h> |
30 | 30 | #include <libavutil/mathematics.h> |
31 | #include <libavutil/mem.h> | |
31 | 32 | #endif |
32 | 33 | |
33 | 34 | #ifndef PIX_FMT_BGRA32 |
48 | 48 | int want_nofork = 0; /*< --nofork ; donT launch xjadeo */ |
49 | 49 | char *qid = NULL; /*< -I <arg> - name of the MQ */ |
50 | 50 | int want_create = 0; /*< unused - only xjadeo create queues */ |
51 | int no_initial_sync =0; /* --nosyncsource, -J */ | |
51 | 52 | |
52 | 53 | int xjr_mute = 1; /*< 1: mute all but '8xx' messages |
53 | 54 | * 2: dont display any replies |
64 | 65 | {"unlinkonly", no_argument, 0, 'U'}, |
65 | 66 | {"id", required_argument, 0, 'I'}, |
66 | 67 | {"noping", required_argument, 0, 'P'}, |
68 | {"noinitialsync", no_argument, 0, 'J'}, | |
67 | 69 | {"version", no_argument, 0, 'V'}, |
68 | 70 | {NULL, 0, NULL, 0} |
69 | 71 | }; |
82 | 84 | "u" /* unlink */ |
83 | 85 | "U" /* unlinkonly */ |
84 | 86 | "P" /* noping */ |
87 | "J" /* no jack / no-initial sync */ | |
85 | 88 | "V", /* version */ |
86 | 89 | long_options, (int *) 0)) != EOF) |
87 | 90 | { switch (c) { |
111 | 114 | case 'R': |
112 | 115 | case 'Q': |
113 | 116 | case 'W': |
117 | break; | |
118 | case 'J': | |
119 | no_initial_sync = 1; | |
114 | 120 | break; |
115 | 121 | case 'V': |
116 | 122 | printversion(); |
184 | 190 | |
185 | 191 | if (xjadeo) { |
186 | 192 | printf("# executing: %s\n",xjadeo); |
187 | if (flags&1) { | |
193 | if (flags&1) { | |
188 | 194 | close(0); |
189 | 195 | dup2(open("/dev/null", 0), 1); |
190 | 196 | dup2(open("/dev/null", 0), 2); |
191 | 197 | } |
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 | } | |
198 | 213 | } else { |
199 | 214 | printf("# no xjadeo executable found. try to set the XJADEO env. variable\n"); |
200 | 215 | } |