Send seek event to baseparse when aacparse seek failed in push mode
[platform/upstream/gst-plugins-good.git] / tests / check / Makefile.am
1 include $(top_srcdir)/common/check.mak
2
3 CHECK_REGISTRY = $(top_builddir)/tests/check/test-registry.reg
4 TEST_FILES_DIRECTORY = $(top_srcdir)/tests/files
5
6 REGISTRY_ENVIRONMENT = \
7         GST_REGISTRY_1_0=$(CHECK_REGISTRY)
8
9 AM_TESTS_ENVIRONMENT += \
10         $(REGISTRY_ENVIRONMENT)                                 \
11         GST_PLUGIN_SYSTEM_PATH_1_0=                             \
12         GST_PLUGIN_PATH_1_0=$(top_builddir)/gst:$(top_builddir)/ext:$(top_builddir)/sys:$(GSTPB_PLUGINS_DIR):$(GST_PLUGINS_DIR)                 \
13         GST_PLUGIN_LOADING_WHITELIST="gstreamer@$(GST_PLUGINS_DIR):gst-plugins-base@$(GSTPB_PLUGINS_DIR):gst-plugins-good@$(top_builddir)"      \
14         GST_STATE_IGNORE_ELEMENTS="aasink autoaudiosrc autoaudiosink autovideosrc autovideosink \
15                 cacasink cairotextoverlay gtkglsink gtksink \
16                 halaudiosrc halaudiosink jackaudiosrc jackaudiosink \
17                 osssrc osssink osxaudiosink osxaudiosrc osxvideosrc osxvideosink \
18                 pulsesink pulsesrc pulsemixer v4l2src" \
19         GSETTINGS_BACKEND="memory"
20
21 # fake device drivers: we could run hardware element tests against dummy drivers
22 # v4l2: vivo (part of normal kernel)
23 #   modprobe vivo;
24 #   gst-launch v4l2src device="/dev/video1" ! xvimagesink;
25 #   rmmod vivo
26 #
27 # alsa: snd-dummy (part of normal alsa, not removable)
28 #   modprobe snd-dummy;
29 #   gst-launch alsasrc device="hw:2" ! fakesink
30 #   gst-launch fakesrc ! alsasink device="hw:2"
31 #
32 # need a way to figure out value for the device property
33
34 # the core dumps of some machines have PIDs appended
35 CLEANFILES = core.* test-registry.*
36
37 clean-local: clean-local-check
38 distclean-local: distclean-local-orc
39
40 if USE_PLUGIN_ALPHA
41 check_alpha = \
42         elements/alphacolor \
43         elements/alpha
44 else
45 check_alpha =
46 endif
47
48 if USE_PLUGIN_AUDIOFX
49 check_audiofx = \
50         elements/audioamplify \
51         elements/audiochebband \
52         elements/audiocheblimit \
53         elements/audiodynamic \
54         elements/audioecho \
55         elements/audiofirfilter \
56         elements/audioiirfilter \
57         elements/audioinvert \
58         elements/audiopanorama \
59         elements/audiowsincband \
60         elements/audiowsinclimit
61 else
62 check_audiofx =
63 endif
64
65 if USE_PLUGIN_AUDIOPARSERS
66 check_audioparsers = \
67         elements/aacparse \
68         elements/ac3parse \
69         elements/amrparse \
70         elements/flacparse \
71         elements/mpegaudioparse \
72         elements/wavpackparse
73 else
74 check_audioparsers =
75 endif
76
77 if USE_PLUGIN_AUTODETECT
78 check_autodetect = elements/autodetect
79 else
80 check_autodetect =
81 endif
82
83 if USE_PLUGIN_AVI
84 check_avi = \
85   elements/avimux \
86   elements/avisubtitle
87 else
88 check_avi =
89 endif
90
91 if USE_PLUGIN_DEBUGUTILS
92 check_debugutils = elements/capssetter
93 else
94 check_debugutils =
95 endif
96
97 if USE_PLUGIN_DEINTERLACE
98 check_deinterlace = elements/deinterlace
99 else
100 check_deinterlace =
101 endif
102
103 if USE_PLUGIN_DTMF
104 check_dtmf = elements/dtmf
105 else
106 check_dtmf =
107 endif
108
109 if USE_PLUGIN_EFFECTV
110 check_effectv = pipelines/effectv
111 else
112 check_effectv =
113 endif
114
115 if USE_PLUGIN_EQUALIZER
116 check_equalizer = elements/equalizer
117 else
118 check_equalizer =
119 endif
120
121 if USE_FLAC
122 check_flac = pipelines/flacdec
123 else
124 check_flac =
125 endif
126
127 if USE_PLUGIN_FLV
128 check_flv = \
129         elements/flvdemux \
130         elements/flvmux
131 else
132 check_flv =
133 endif
134
135 if USE_PLUGIN_ISOMP4
136 check_isomp4 = \
137         elements/qtmux \
138         elements/qtdemux
139 else
140 check_isomp4 =
141 endif
142
143 if USE_PLUGIN_LAW
144 check_law = \
145         elements/mulawdec \
146         elements/mulawenc
147 else
148 check_law =
149 endif
150
151 if USE_GDK_PIXBUF
152 check_gdkpixbuf = elements/gdkpixbufsink elements/gdkpixbufoverlay
153 else
154 check_gdkpixbuf =
155 endif
156
157 if USE_PLUGIN_ICYDEMUX
158 check_icydemux = elements/icydemux
159 else
160 check_icydemux =
161 endif
162
163 if USE_PLUGIN_ID3DEMUX
164 check_id3demux = elements/id3demux
165 else
166 check_id3demux =
167 endif
168
169 if USE_PLUGIN_IMAGEFREEZE
170 check_imagefreeze = elements/imagefreeze
171 else
172 check_imagefreeze =
173 endif
174
175 if USE_PLUGIN_INTERLEAVE
176 check_interleave = \
177         elements/deinterleave \
178         elements/interleave
179 else
180 check_interleave =
181 endif
182
183 if USE_JPEG
184 check_jpeg = \
185         elements/jpegdec \
186         elements/jpegenc
187 else
188 check_jpeg =
189 endif
190
191 if USE_LAME
192 check_lame = pipelines/lame
193 else
194 check_lame =
195 endif
196
197 if USE_PLUGIN_LEVEL
198 check_level = elements/level
199 else
200 check_level =
201 endif
202
203 if USE_PLUGIN_MATROSKA
204 check_matroska = \
205         elements/matroskademux \
206         elements/matroskamux \
207         elements/matroskaparse
208 else
209 check_matroska =
210 endif
211
212 if USE_MPG123
213 check_mpg123 = elements/mpg123audiodec
214 else
215 check_mpg123 =
216 endif
217
218 if USE_PLUGIN_MULTIFILE
219 check_multifile = elements/multifile elements/splitmux
220 else
221 check_multifile =
222 endif
223
224 if USE_PLUGIN_REPLAYGAIN
225 check_replaygain = \
226         elements/rganalysis \
227         elements/rglimiter \
228         elements/rgvolume
229 else
230 check_replaygain =
231 endif
232
233 if USE_PLUGIN_RTP
234 check_rtp = \
235         elements/rtp-payloading \
236         elements/rtph261 \
237         elements/rtph263 \
238         elements/rtph264 \
239         elements/rtph265 \
240         elements/rtpvp9
241 else
242 check_rtp =
243 endif
244
245 if USE_PLUGIN_RTPMANAGER
246 check_rtpmanager = \
247         elements/rtpbin \
248         elements/rtpbin_buffer_list \
249         elements/rtpcollision \
250         elements/rtpjitterbuffer \
251         elements/rtpmux \
252         elements/rtprtx \
253         elements/rtpsession \
254         elements/rtpstorage \
255         elements/rtpred \
256         elements/rtpulpfec \
257         elements/rtpfunnel \
258         elements/rtpssrcdemux
259 else
260 check_rtpmanager =
261 endif
262
263 if USE_SOUP
264 check_soup = elements/souphttpsrc
265 else
266 check_soup =
267 endif
268
269 if USE_PLUGIN_SPECTRUM
270 check_spectrum = elements/spectrum
271 else
272 check_spectrum =
273 endif
274
275 if USE_PLUGIN_SHAPEWIPE
276 check_shapewipe = elements/shapewipe
277 else
278 check_shapewipe =
279 endif
280
281 if USE_TAGLIB
282 check_taglib = \
283         elements/id3v2mux \
284         elements/apev2mux
285 else
286 check_taglib =
287 endif
288
289 if USE_TWOLAME
290 check_twolame = pipelines/twolame
291 else
292 check_twolame =
293 endif
294
295 if USE_PLUGIN_UDP
296 check_udp = \
297         elements/udpsink \
298         elements/udpsrc
299 else
300 check_udp =
301 endif
302
303 if USE_PLUGIN_VIDEOBOX
304 check_videobox = elements/videobox
305 else
306 check_videobox =
307 endif
308
309 if USE_PLUGIN_VIDEOCROP
310 check_videocrop = \
311         elements/aspectratiocrop \
312         elements/videocrop
313 else
314 check_videocrop =
315 endif
316
317 if USE_PLUGIN_VIDEOFILTER
318 check_videofilter = elements/videofilter
319 else
320 check_videofilter =
321 endif
322
323 if USE_PLUGIN_VIDEOMIXER
324 check_videomixer = elements/videomixer
325 else
326 check_videomixer =
327 endif
328
329 if USE_VPX
330 check_vpx=elements/vp8enc elements/vp8dec elements/vp9enc
331 else
332 check_vpx=
333 endif
334
335 if USE_PLUGIN_WAVENC
336 check_wavenc = pipelines/wavenc
337 else
338 check_wavenc =
339 endif
340
341 if USE_WAVPACK
342 check_wavpack = \
343        elements/wavpackdec \
344        elements/wavpackenc \
345        pipelines/wavpack
346 else
347 check_wavpack =
348 endif
349
350 if USE_PLUGIN_WAVPARSE
351 check_wavparse = elements/wavparse
352 else
353 check_wavparse =
354 endif
355
356 if USE_PLUGIN_Y4M
357 check_y4m = elements/y4menc
358 else
359 check_y4m =
360 endif
361
362 if HAVE_ORC
363 check_orc = orc/deinterlace orc/videomixer orc/videobox
364 else
365 check_orc =
366 endif
367
368
369 check_PROGRAMS = \
370         generic/states \
371         pipelines/simple-launch-lines \
372         pipelines/tagschecking \
373         $(check_alpha) \
374         $(check_audiofx) \
375         $(check_audioparsers) \
376         $(check_autodetect) \
377         $(check_avi) \
378         $(check_debugutils) \
379         $(check_deinterlace) \
380         $(check_dtmf) \
381         $(check_effectv) \
382         $(check_equalizer) \
383         $(check_flac) \
384         $(check_flv) \
385         $(check_gdkpixbuf) \
386         $(check_isomp4) \
387         $(check_icydemux) \
388         $(check_id3demux) \
389         $(check_imagefreeze) \
390         $(check_interleave) \
391         $(check_jpeg) \
392         $(check_lame) \
393         $(check_law) \
394         $(check_level) \
395         $(check_matroska) \
396         $(check_mpg123) \
397         $(check_multifile) \
398         $(check_replaygain) \
399         $(check_rtp) \
400         $(check_rtpmanager) \
401         $(check_shapewipe) \
402         $(check_soup) \
403         $(check_spectrum) \
404         $(check_taglib) \
405         $(check_twolame) \
406         $(check_udp) \
407         $(check_videobox) \
408         $(check_videocrop) \
409         $(check_videofilter) \
410         $(check_videomixer) \
411         $(check_vpx) \
412         $(check_wavenc) \
413         $(check_wavpack) \
414         $(check_wavparse) \
415         $(check_y4m) \
416         $(check_orc)
417
418 VALGRIND_TO_FIX = \
419         elements/rtp-payloading
420
421 TESTS = $(check_PROGRAMS)
422
423 AM_CFLAGS = $(GST_OBJ_CFLAGS) $(GST_CHECK_CFLAGS) $(CHECK_CFLAGS) \
424         $(GST_OPTION_CFLAGS) $(GST_CFLAGS) -DGST_TEST_FILES_PATH="\"$(TEST_FILES_DIRECTORY)\"" \
425         -DGST_CHECK_TEST_ENVIRONMENT_BEACON="\"GST_PLUGIN_LOADING_WHITELIST\"" \
426         -UG_DISABLE_ASSERT -UG_DISABLE_CAST_CHECKS $(PTHREAD_CFLAGS)
427 LDADD = $(GST_OBJ_LIBS) $(GST_CHECK_LIBS) $(CHECK_LIBS)
428
429 # valgrind testing
430 # videocrop disabled since it takes way too long in valgrind
431 VALGRIND_TESTS_DISABLE = \
432         elements/videocrop \
433         $(VALGRIND_TO_FIX)
434
435 SUPPRESSIONS = $(top_srcdir)/common/gst.supp $(srcdir)/gst-plugins-good.supp
436
437 # parser unit test convenience lib
438 noinst_LTLIBRARIES = libparser.la
439 libparser_la_SOURCES = elements/parser.c elements/parser.h
440 libparser_la_CFLAGS = \
441         -I$(top_srcdir)/tests/check \
442         $(AM_CFLAGS) -DGST_USE_UNSTABLE_API
443
444 elements_aacparse_LDADD = libparser.la $(LDADD)
445
446 elements_ac3parse_LDADD = libparser.la $(LDADD)
447
448 elements_amrparse_LDADD = libparser.la $(LDADD)
449
450 elements_flacparse_LDADD = libparser.la $(LDADD)
451
452 elements_flvdemux_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(CFLAGS) $(AM_CFLAGS)
453 elements_flvdemux_LDADD = $(GST_PLUGINS_BASE_LIBS) -lgsttag-$(GST_API_VERSION) $(LDADD)
454
455 elements_mpegaudioparse_LDADD = libparser.la $(LDADD)
456
457 elements_aspectratiocrop_LDADD = $(LDADD)
458 elements_aspectratiocrop_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(CFLAGS) $(AM_CFLAGS)
459
460 elements_audioamplify_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(CFLAGS) $(AM_CFLAGS)
461 elements_audioamplify_LDADD = $(GST_PLUGINS_BASE_LIBS) -lgstaudio-$(GST_API_VERSION) $(LDADD)
462
463 elements_audiochebband_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(CFLAGS) $(AM_CFLAGS)
464 elements_audiochebband_LDADD = $(GST_PLUGINS_BASE_LIBS) -lgstaudio-$(GST_API_VERSION) $(LDADD) $(LIBM)
465
466 elements_audiocheblimit_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(CFLAGS) $(AM_CFLAGS)
467 elements_audiocheblimit_LDADD = $(GST_PLUGINS_BASE_LIBS) -lgstaudio-$(GST_API_VERSION) $(LDADD) $(LIBM)
468
469 elements_audiodynamic_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(CFLAGS) $(AM_CFLAGS)
470 elements_audiodynamic_LDADD = $(GST_PLUGINS_BASE_LIBS) -lgstaudio-$(GST_API_VERSION) $(LDADD)
471
472 elements_audioecho_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(CFLAGS) $(AM_CFLAGS)
473 elements_audioecho_LDADD = $(GST_PLUGINS_BASE_LIBS) -lgstaudio-$(GST_API_VERSION) $(LDADD)
474
475 elements_audioinvert_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(CFLAGS) $(AM_CFLAGS)
476 elements_audioinvert_LDADD = $(GST_PLUGINS_BASE_LIBS) -lgstaudio-$(GST_API_VERSION) $(LDADD)
477
478 elements_audiopanorama_LDADD = \
479         $(GST_PLUGINS_BASE_LIBS) -lgstaudio-$(GST_API_VERSION) $(GST_BASE_LIBS) \
480         $(GST_CONTROLLER_LIBS) $(LDADD)
481
482 elements_audiopanorama_CFLAGS = \
483         $(GST_PLUGINS_BASE_CFLAGS) $(GST_BASE_CFLAGS) $(GST_CONTROLLER_CFLAGS) \
484         $(CFLAGS) $(AM_CFLAGS)
485
486 elements_audiowsincband_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(CFLAGS) $(AM_CFLAGS)
487 elements_audiowsincband_LDADD = $(GST_PLUGINS_BASE_LIBS) -lgstaudio-$(GST_API_VERSION) $(LDADD) $(LIBM)
488
489 elements_audiowsinclimit_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(CFLAGS) $(AM_CFLAGS)
490 elements_audiowsinclimit_LDADD = $(GST_PLUGINS_BASE_LIBS) -lgstaudio-$(GST_API_VERSION) $(LDADD) $(LIBM)
491
492 elements_autodetect_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_BASE_CFLAGS) $(CFLAGS) $(AM_CFLAGS)
493 elements_autodetect_LDADD = $(GST_BASE_LIBS) $(LDADD)
494
495 elements_equalizer_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(CFLAGS) $(AM_CFLAGS)
496 elements_equalizer_LDADD = $(GST_PLUGINS_BASE_LIBS) -lgstaudio-$(GST_API_VERSION) $(LDADD) $(LIBM)
497
498 elements_rganalysis_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(CFLAGS) $(AM_CFLAGS)
499 elements_rganalysis_LDADD = $(GST_PLUGINS_BASE_LIBS) -lgstaudio-$(GST_API_VERSION) $(LDADD)
500 elements_rglimiter_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(CFLAGS) $(AM_CFLAGS)
501 elements_rglimiter_LDADD = $(GST_PLUGINS_BASE_LIBS) -lgstaudio-$(GST_API_VERSION) $(LDADD)
502 elements_rgvolume_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(CFLAGS) $(AM_CFLAGS)
503 elements_rgvolume_LDADD = $(GST_PLUGINS_BASE_LIBS) -lgstaudio-$(GST_API_VERSION) $(LDADD) $(LIBM)
504
505 elements_rtp_payloading_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_BASE_CFLAGS) $(CFLAGS) $(AM_CFLAGS)
506 elements_rtp_payloading_LDADD = $(GST_PLUGINS_BASE_LIBS) -lgstaudio-$(GST_API_VERSION) $(GST_BASE_LIBS) $(LDADD)
507
508 elements_spectrum_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(CFLAGS) $(AM_CFLAGS)
509 elements_spectrum_LDADD = $(GST_PLUGINS_BASE_LIBS) -lgstaudio-$(GST_API_VERSION) $(LDADD)
510
511 elements_alphacolor_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(CFLAGS) $(AM_CFLAGS)
512 elements_alpha_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(CFLAGS) $(AM_CFLAGS)
513
514 elements_deinterlace_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(CFLAGS) $(AM_CFLAGS)
515 elements_deinterlace_LDADD = $(GST_PLUGINS_BASE_LIBS) -lgstvideo-$(GST_API_VERSION) $(LDADD)
516
517 elements_dtmf_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) \
518         $(GST_BASE_CFLAGS) $(GST_CFLAGS) $(AM_CFLAGS)
519 elements_dtmf_LDADD = $(GST_PLUGINS_BASE_LIBS) -lgstrtp-@GST_API_VERSION@ \
520     $(GST_BASE_LIBS) $(GST_LIBS) $(LDADD)
521
522 elements_deinterleave_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(CFLAGS) $(AM_CFLAGS)
523 elements_deinterleave_LDADD = $(GST_PLUGINS_BASE_LIBS) -lgstaudio-$(GST_API_VERSION) $(LDADD)
524 elements_interleave_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(CFLAGS) $(AM_CFLAGS)
525 elements_interleave_LDADD = $(GST_PLUGINS_BASE_LIBS) -lgstaudio-$(GST_API_VERSION) $(LDADD)
526
527 elements_level_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(CFLAGS) $(AM_CFLAGS)
528 elements_level_LDADD = $(GST_PLUGINS_BASE_LIBS) -lgstaudio-$(GST_API_VERSION) $(LDADD)
529
530 elements_imagefreeze_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_BASE_CFLAGS) $(AM_CFLAGS)
531 elements_imagefreeze_LDADD = $(GST_PLUGINS_BASE_LIBS) -lgstvideo-$(GST_API_VERSION) $(GST_BASE_LIBS) $(LDADD)
532
533 elements_jpegdec_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_BASE_CFLAGS) $(GIO_CFLAGS) $(AM_CFLAGS)
534 elements_jpegdec_LDADD = $(GST_PLUGINS_BASE_LIBS) -lgstapp-$(GST_API_VERSION) -lgstpbutils-$(GST_API_VERSION) $(GST_BASE_LIBS) $(GIO_LIBS) $(LDADD)
535
536 elements_jpegenc_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_BASE_CFLAGS) $(AM_CFLAGS)
537 elements_jpegenc_LDADD = $(GST_PLUGINS_BASE_LIBS) -lgstapp-$(GST_API_VERSION) $(GST_BASE_LIBS) $(LDADD)
538
539 elements_matroskamux_LDADD = $(GST_BASE_LIBS) $(LDADD) $(LIBM)
540
541 elements_mpg123audiodec_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_BASE_CFLAGS) $(AM_CFLAGS)
542 elements_mpg123audiodec_LDADD = \
543         $(GST_PLUGINS_BASE_LIBS) -lgstaudio-@GST_API_VERSION@ -lgstfft-@GST_API_VERSION@ \
544         -lgstapp-@GST_API_VERSION@ $(GST_BASE_LIBS) $(GST_LIBS) $(LDADD)
545
546 elements_mulawdec_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_CFLAGS) $(AM_CFLAGS)
547
548 elements_mulawenc_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_CFLAGS) $(AM_CFLAGS)
549
550 elements_multifile_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_CFLAGS) $(AM_CFLAGS)
551 elements_multifile_LDADD = $(GST_PLUGINS_BASE_LIBS) -lgstvideo-$(GST_API_VERSION) $(GST_LIBS) $(LDADD) $(LIBM)
552
553 elements_splitmux_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_BASE_CFLAGS) $(AM_CFLAGS)
554 elements_splitmux_LDADD = $(GST_PLUGINS_BASE_LIBS) -lgstapp-$(GST_API_VERSION) $(GST_LIBS) $(LDADD) $(LIBM)
555
556 elements_qtmux_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_CFLAGS) $(AM_CFLAGS)
557 elements_qtmux_LDADD = $(GST_PLUGINS_BASE_LIBS) -lgstpbutils-@GST_API_VERSION@ \
558              $(GST_BASE_LIBS) $(GST_LIBS) $(GST_CHECK_LIBS)
559
560 elements_rtpbin_buffer_list_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_CFLAGS) \
561         $(WARNING_CFLAGS) $(ERROR_CFLAGS) $(GST_CHECK_CFLAGS) $(AM_CFLAGS)
562 elements_rtpbin_buffer_list_LDADD = $(GST_PLUGINS_BASE_LIBS) \
563              -lgstrtp-$(GST_API_VERSION) \
564              $(GST_BASE_LIBS) $(GST_LIBS) $(GST_CHECK_LIBS) $(LDADD)
565 elements_rtpbin_buffer_list_SOURCES = elements/rtpbin_buffer_list.c
566
567 elements_rtpbin_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_BASE_CFLAGS) $(GST_CFLAGS) \
568         $(WARNING_CFLAGS) $(ERROR_CFLAGS) $(GST_CHECK_CFLAGS) $(AM_CFLAGS)
569 elements_rtpbin_LDADD = $(GST_PLUGINS_BASE_LIBS) \
570              -lgstrtp-$(GST_API_VERSION) \
571              $(GST_BASE_LIBS) $(GST_LIBS) $(GST_CHECK_LIBS) $(LDADD)
572
573 elements_rtph261_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_BASE_CFLAGS) $(AM_CFLAGS)
574 elements_rtph261_LDADD = $(GST_PLUGINS_BASE_LIBS) -lgstrtp-$(GST_API_VERSION) $(GST_BASE_LIBS) $(LDADD)
575
576 elements_rtph263_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_BASE_CFLAGS) $(AM_CFLAGS)
577 elements_rtph263_LDADD = $(GST_PLUGINS_BASE_LIBS) -lgstrtp-$(GST_API_VERSION) $(GST_BASE_LIBS) $(LDADD)
578
579 elements_rtph264_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_BASE_CFLAGS) $(AM_CFLAGS)
580 elements_rtph264_LDADD = $(GST_PLUGINS_BASE_LIBS) -lgstapp-$(GST_API_VERSION) -lgstrtp-$(GST_API_VERSION) $(GST_BASE_LIBS) $(LDADD)
581
582 elements_rtph265_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_BASE_CFLAGS) $(AM_CFLAGS)
583 elements_rtph265_LDADD = $(GST_PLUGINS_BASE_LIBS) -lgstapp-$(GST_API_VERSION) -lgstrtp-$(GST_API_VERSION) $(GST_BASE_LIBS) $(LDADD)
584
585 elements_rtpmux_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_BASE_CFLAGS) $(AM_CFLAGS)
586 elements_rtpmux_LDADD = $(GST_PLUGINS_BASE_LIBS) -lgstrtp-$(GST_API_VERSION) $(GST_BASE_LIBS) $(LDADD)
587
588 elements_souphttpsrc_CFLAGS = $(SOUP_CFLAGS) $(AM_CFLAGS)
589 elements_souphttpsrc_LDADD = $(SOUP_LIBS) $(LDADD)
590
591 elements_udpsink_CFLAGS = $(AM_CFLAGS) $(GIO_CFLAGS)
592 elements_udpsink_LDADD = $(LDADD) $(GIO_LIBS)
593
594 elements_udpsrc_CFLAGS = $(AM_CFLAGS) $(GIO_CFLAGS)
595 elements_udpsrc_LDADD = $(LDADD) $(GIO_LIBS)
596
597 elements_videocrop_LDADD = $(GST_PLUGINS_BASE_LIBS) $(GST_BASE_LIBS) -lgstvideo-$(GST_API_VERSION) $(LDADD)
598 elements_videocrop_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_BASE_CFLAGS) $(CFLAGS) $(AM_CFLAGS)
599
600 elements_videofilter_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(CFLAGS) $(AM_CFLAGS)
601 elements_videofilter_LDADD = $(GST_PLUGINS_BASE_LIBS) -lgstvideo-$(GST_API_VERSION) $(LDADD)
602
603 elements_rtpjitterbuffer_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(CFLAGS) $(AM_CFLAGS)
604 elements_rtpjitterbuffer_LDADD = $(GST_PLUGINS_BASE_LIBS) -lgstrtp-$(GST_API_VERSION) $(LDADD)
605
606 elements_rtprtx_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(CFLAGS) $(AM_CFLAGS)
607 elements_rtprtx_LDADD = $(GST_PLUGINS_BASE_LIBS) -lgstrtp-$(GST_API_VERSION) $(LDADD)
608
609 elements_rtpsession_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(CFLAGS) $(AM_CFLAGS)
610 elements_rtpsession_LDADD = $(GST_PLUGINS_BASE_LIBS) $(GST_NET_LIBS) -lgstrtp-$(GST_API_VERSION) -lgstvideo-$(GST_API_VERSION) $(GIO_LIBS) $(LDADD)
611
612 elements_rtpssrcdemux_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_BASE_CFLAGS) $(AM_CFLAGS)
613 elements_rtpssrcdemux_LDADD = $(GST_PLUGINS_BASE_LIBS) -lgstrtp-$(GST_API_VERSION) $(GST_BASE_LIBS) $(LDADD)
614
615 elements_rtpfunnel_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_BASE_CFLAGS) $(AM_CFLAGS)
616 elements_rtpfunnel_LDADD = $(GST_PLUGINS_BASE_LIBS) -lgstrtp-$(GST_API_VERSION) $(GST_BASE_LIBS) $(LDADD)
617
618 elements_rtpcollision_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(CFLAGS) $(AM_CFLAGS)
619 elements_rtpcollision_LDADD = $(GST_PLUGINS_BASE_LIBS) $(GST_NET_LIBS) -lgstrtp-$(GST_API_VERSION) $(GIO_LIBS) $(LDADD)
620
621 elements_rtpstorage_SOURCES = \
622         elements/rtpstorage.c \
623         ../../gst/rtp/gstrtpstorage.c \
624         ../../gst/rtp/rtpstorage.c \
625         ../../gst/rtp/rtpstoragestream.c
626
627 elements_rtpstorage_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(CFLAGS) $(AM_CFLAGS)
628 elements_rtpstorage_LDADD = $(GST_PLUGINS_BASE_LIBS) $(GST_NET_LIBS) -lgstrtp-$(GST_API_VERSION) $(GIO_LIBS) $(LDADD)
629
630 elements_rtpred_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(CFLAGS) $(AM_CFLAGS)
631 elements_rtpred_LDADD = $(GST_PLUGINS_BASE_LIBS) $(GST_NET_LIBS) -lgstrtp-$(GST_API_VERSION) $(GIO_LIBS) $(LDADD)
632
633 elements_rtpulpfec_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(CFLAGS) $(AM_CFLAGS)
634 elements_rtpulpfec_LDADD = $(GST_PLUGINS_BASE_LIBS) $(GST_NET_LIBS) -lgstrtp-$(GST_API_VERSION) $(GIO_LIBS) $(LDADD)
635
636 # FIXME: configure should check for gdk-pixbuf not gtk
637 # only need video.h header, not the lib
638 elements_gdkpixbufsink_CFLAGS = \
639         $(GST_PLUGINS_BASE_CFLAGS) $(CFLAGS) $(AM_CFLAGS) $(GDK_PIXBUF_CFLAGS)
640 elements_gdkpixbufsink_LDADD = \
641         $(LDADD) $(GDK_PIXBUF_LIBS)
642
643 elements_videomixer_LDADD = $(LDADD)  $(GST_BASE_LIBS)
644 elements_videomixer_CFLAGS = $(GST_BASE_CFLAGS) $(CFLAGS) $(AM_CFLAGS)
645
646 pipelines_flacdec_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(CFLAGS) $(AM_CFLAGS)
647 pipelines_flacdec_LDADD  = $(GST_PLUGINS_BASE_LIBS) -lgstaudio-$(GST_API_VERSION) $(LDADD)
648
649 elements_vp9enc_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(CFLAGS) $(AM_CFLAGS)
650 elements_vp9enc_LDADD = $(GST_PLUGINS_BASE_LIBS) -lgstvideo-$(GST_API_VERSION) $(LDADD)
651
652 pipelines_wavenc_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(CFLAGS) $(AM_CFLAGS)
653 pipelines_wavenc_LDADD  = $(GST_PLUGINS_BASE_LIBS) -lgstaudio-$(GST_API_VERSION) $(LDADD)
654
655 pipelines_wavpack_LDADD = $(LDADD) $(GST_BASE_LIBS)
656 pipelines_wavpack_CFLAGS = $(GST_BASE_CFLAGS) $(CFLAGS) $(AM_CFLAGS)
657
658 orc_deinterlace_CFLAGS = $(ORC_CFLAGS)
659 orc_deinterlace_LDADD = $(ORC_LIBS) -lorc-test-0.4
660 nodist_orc_deinterlace_SOURCES = orc/deinterlace.c
661 orc_videomixer_CFLAGS = $(ORC_CFLAGS)
662 orc_videomixer_LDADD = $(ORC_LIBS) -lorc-test-0.4
663 nodist_orc_videomixer_SOURCES = orc/videomixer.c
664 orc_videobox_CFLAGS = $(ORC_CFLAGS)
665 orc_videobox_LDADD = $(ORC_LIBS) -lorc-test-0.4
666 nodist_orc_videobox_SOURCES = orc/videobox.c
667
668 orc/deinterlace.c: $(top_srcdir)/gst/deinterlace/tvtime.orc
669         $(MKDIR_P) orc/
670         $(ORCC) --test -o $@ $<
671
672 orc/videomixer.c: $(top_srcdir)/gst/videomixer/videomixerorc.orc
673         $(MKDIR_P) orc/
674         $(ORCC) --test -o $@ $<
675
676 orc/videobox.c: $(top_srcdir)/gst/videobox/gstvideoboxorc.orc
677         $(MKDIR_P) orc/
678         $(ORCC) --test -o $@ $<
679
680 distclean-local-orc:
681         rm -rf orc
682
683 EXTRA_DIST = \
684         gst-plugins-good.supp   \
685         elements/packets.h \
686         elements/qtdemux.h