diff options
author | McCabe Maxsted | 2009-03-16 07:39:13 -0700 |
---|---|---|
committer | McCabe Maxsted | 2009-03-16 20:22:22 -0700 |
commit | 29f7ae7e3ecfcde6c7a46d550f43954ac284b12f (patch) | |
tree | 9107a8f6c1264460ffc3c80ef4fac198474a5c31 /linden/indra/llmedia/llmediaimplgstreamer_syms.cpp | |
parent | Changed startinternetstream() a bit to be clearer (diff) | |
download | meta-impy-29f7ae7e3ecfcde6c7a46d550f43954ac284b12f.zip meta-impy-29f7ae7e3ecfcde6c7a46d550f43954ac284b12f.tar.gz meta-impy-29f7ae7e3ecfcde6c7a46d550f43954ac284b12f.tar.bz2 meta-impy-29f7ae7e3ecfcde6c7a46d550f43954ac284b12f.tar.xz |
Visual Studio now ignores C4244 warnings in GStreamer
Diffstat (limited to '')
-rw-r--r-- | linden/indra/llmedia/llmediaimplgstreamer_syms.cpp | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/linden/indra/llmedia/llmediaimplgstreamer_syms.cpp b/linden/indra/llmedia/llmediaimplgstreamer_syms.cpp index fb1949a..2f6d09c 100644 --- a/linden/indra/llmedia/llmediaimplgstreamer_syms.cpp +++ b/linden/indra/llmedia/llmediaimplgstreamer_syms.cpp | |||
@@ -31,6 +31,13 @@ | |||
31 | 31 | ||
32 | ///#if LL_GSTREAMER_ENABLED | 32 | ///#if LL_GSTREAMER_ENABLED |
33 | 33 | ||
34 | #if LL_WINDOWS | ||
35 | // GStreamer 0.10.22 - gstutils.h - conversion from 'guint64' to 'guint8'. | ||
36 | // This was an intentional change to make GStreamer more threadsafe, and | ||
37 | // is okay. Delete this bit if GStreamer ever gets more VS-friendly -- McCabe | ||
38 | #pragma warning(disable : 4244) | ||
39 | #endif | ||
40 | |||
34 | extern "C" { | 41 | extern "C" { |
35 | #include <gst/gst.h> | 42 | #include <gst/gst.h> |
36 | 43 | ||
@@ -40,6 +47,10 @@ extern "C" { | |||
40 | 47 | ||
41 | #include "llmediaimplgstreamer.h" | 48 | #include "llmediaimplgstreamer.h" |
42 | 49 | ||
50 | #if LL_WINDOWS | ||
51 | #pragma warning(default : 4244) | ||
52 | #endif | ||
53 | |||
43 | #define LL_GST_SYM(REQ, GSTSYM, RTN, ...) RTN (*ll##GSTSYM)(__VA_ARGS__) = NULL | 54 | #define LL_GST_SYM(REQ, GSTSYM, RTN, ...) RTN (*ll##GSTSYM)(__VA_ARGS__) = NULL |
44 | #include "llmediaimplgstreamer_syms_raw.inc" | 55 | #include "llmediaimplgstreamer_syms_raw.inc" |
45 | #include "llmediaimplgstreamer_syms_rawa.inc" | 56 | #include "llmediaimplgstreamer_syms_rawa.inc" |
@@ -184,5 +195,4 @@ void ungrab_gst_syms() | |||
184 | sSymsGrabbed = false; | 195 | sSymsGrabbed = false; |
185 | } | 196 | } |
186 | 197 | ||
187 | |||
188 | ///#endif // LL_GSTREAMER_ENABLED | 198 | ///#endif // LL_GSTREAMER_ENABLED |