Added exception handling for null buffer
[platform/upstream/gstreamer.git] / omx / Makefile.am
1 plugin_LTLIBRARIES = libgstomx.la
2
3 if HAVE_VP8
4 VP8_C_FILES=gstomxvp8dec.c
5 VP8_H_FILES=gstomxvp8dec.h
6 endif
7
8 if HAVE_VP9
9 VP9_C_FILES=gstomxvp9dec.c
10 VP9_H_FILES=gstomxvp9dec.h
11 endif
12
13 if HAVE_THEORA
14 THEORA_C_FILES=gstomxtheoradec.c
15 THEORA_H_FILES=gstomxtheoradec.h
16 endif
17
18 if HAVE_HEVC
19 HEVC_C_FILES=gstomxh265dec.c    \
20                         gstomxh265enc.c
21 HEVC_H_FILES=gstomxh265dec.h    \
22                         gstomxh265enc.h
23 endif
24
25 libgstomx_la_SOURCES = \
26         gstomx.c \
27         gstomxbufferpool.c \
28         gstomxvideo.c \
29         gstomxvideodec.c \
30         gstomxvideoenc.c \
31         gstomxaudiodec.c \
32         gstomxaudioenc.c \
33         gstomxmjpegdec.c \
34         gstomxmpeg4videodec.c \
35         gstomxmpeg2videodec.c \
36         gstomxh264dec.c \
37         gstomxh263dec.c \
38         gstomxwmvdec.c \
39         $(VP8_C_FILES) \
40         $(VP9_C_FILES) \
41         $(THEORA_C_FILES) \
42         $(HEVC_C_FILES) \
43         gstomxmpeg4videoenc.c \
44         gstomxh264enc.c \
45         gstomxh263enc.c \
46         gstomxaacdec.c \
47         gstomxmp3dec.c \
48         gstomxaacenc.c \
49         gstomxamrdec.c \
50         gstomxaudiosink.c \
51         gstomxanalogaudiosink.c \
52         gstomxhdmiaudiosink.c
53
54 noinst_HEADERS = \
55         gstomx.h \
56         gstomxbufferpool.h \
57         gstomxvideo.h \
58         gstomxvideodec.h \
59         gstomxvideoenc.h \
60         gstomxaudiodec.h \
61         gstomxaudioenc.h \
62         gstomxmjpegdec.h \
63         gstomxmpeg2videodec.h \
64         gstomxmpeg4videodec.h \
65         gstomxh264dec.h \
66         gstomxh263dec.h \
67         gstomxwmvdec.h \
68         $(VP8_H_FILES) \
69         $(VP9_H_FILES) \
70         $(THEORA_H_FILES) \
71         $(HEVC_H_FILES) \
72         gstomxmpeg4videoenc.h \
73         gstomxh264enc.h \
74         gstomxh263enc.h \
75         gstomxaacdec.h \
76         gstomxmp3dec.h \
77         gstomxaacenc.h \
78         gstomxamrdec.h \
79         gstomxaudiosink.h \
80         gstomxanalogaudiosink.h \
81         gstomxhdmiaudiosink.h
82
83 if !HAVE_EXTERNAL_OMX
84 OMX_INCLUDEPATH = -I$(abs_srcdir)/openmax
85 endif
86
87 libgstomx_la_CFLAGS = \
88         -DGST_USE_UNSTABLE_API=1 \
89         $(CFLAGS) \
90         $(OMX_INCLUDEPATH) \
91         $(GST_GL_CFLAGS) \
92         $(GST_PLUGINS_BASE_CFLAGS) \
93         $(GST_BASE_CFLAGS) \
94         $(GST_CFLAGS) \
95         $(TBM_CFLAGS) \
96         $(GMODULE_NO_EXPORT_CFLAGS) \
97         $(MM_COMMON_CFLAGS)
98
99 libgstomx_la_LIBADD = \
100         $(GST_GL_LIBS) \
101         $(GST_PLUGINS_BASE_LIBS) \
102         -lgstaudio-@GST_API_VERSION@ \
103         -lgstpbutils-@GST_API_VERSION@ \
104         -lgstvideo-@GST_API_VERSION@ \
105         $(GST_BASE_LIBS) \
106         $(GST_LIBS) \
107         $(TBM_LIBS) \
108         $(GMODULE_NO_EXPORT_LIBS) \
109         $(MM_COMMON_LIBS)
110 libgstomx_la_LDFLAGS = \
111         $(GST_PLUGIN_LDFLAGS) \
112         $(TBM_LDFLAGS) \
113         $(MM_COMMON_LDFLAGS)
114
115 EXTRA_DIST = \
116         openmax \
117         gstomxvp8dec.c \
118         gstomxvp8dec.h \
119         gstomxtheoradec.c \
120         gstomxtheoradec.h