summaryrefslogtreecommitdiff
path: root/recipes/gst-libav-1.0.recipe
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/gst-libav-1.0.recipe')
-rw-r--r--recipes/gst-libav-1.0.recipe2
1 files changed, 2 insertions, 0 deletions
diff --git a/recipes/gst-libav-1.0.recipe b/recipes/gst-libav-1.0.recipe
index 0cbb57cb..730cf22b 100644
--- a/recipes/gst-libav-1.0.recipe
+++ b/recipes/gst-libav-1.0.recipe
@@ -13,5 +13,7 @@ class Recipe(custom.GStreamer):
]
def prepare(self):
+ if not self.using_msvc():
+ self.append_env('CFLAGS', '-Wno-deprecated-declarations')
if self.config.variants.nodebug:
self.append_env('CFLAGS', '-DGST_LEVEL_MAX=GST_LEVEL_FIXME')