setup: avoid gstreamer to be used on mobile (android and ios)

This commit is contained in:
Mathieu Virbel 2013-12-26 21:14:30 +01:00
parent 962278818b
commit 6a376b918a
1 changed files with 5 additions and 4 deletions

View File

@ -188,10 +188,11 @@ if platform == 'ios':
c_options['use_ios'] = True
c_options['use_sdl'] = True
# detect gstreamer
gst_flags = pkgconfig('gstreamer-1.0')
if 'libraries' in gst_flags:
c_options['use_gstreamer'] = True
# detect gstreamer, only on desktop
if platform not in ('ios', 'android'):
gst_flags = pkgconfig('gstreamer-1.0')
if 'libraries' in gst_flags:
c_options['use_gstreamer'] = True
# -----------------------------------------------------------------------------