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.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 'linden/indra/llmedia/llmediaimplgstreamer.cpp')
-rw-r--r-- | linden/indra/llmedia/llmediaimplgstreamer.cpp | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/linden/indra/llmedia/llmediaimplgstreamer.cpp b/linden/indra/llmedia/llmediaimplgstreamer.cpp index 30706f1..b37deac 100644 --- a/linden/indra/llmedia/llmediaimplgstreamer.cpp +++ b/linden/indra/llmedia/llmediaimplgstreamer.cpp | |||
@@ -30,15 +30,26 @@ | |||
30 | * $/LicenseInfo$ | 30 | * $/LicenseInfo$ |
31 | */ | 31 | */ |
32 | 32 | ||
33 | #include "llmediaimplgstreamer.h" | ||
34 | |||
35 | ///#if LL_GSTREAMER_ENABLED | 33 | ///#if LL_GSTREAMER_ENABLED |
36 | 34 | ||
35 | #if LL_WINDOWS | ||
36 | // GStreamer 0.10.22 - gstutils.h - conversion from 'guint64' to 'guint8'. | ||
37 | // This was an intentional change to make GStreamer more threadsafe, and | ||
38 | // is okay. Delete this bit if GStreamer ever gets more VS-friendly -- McCabe | ||
39 | #pragma warning(disable : 4244) | ||
40 | #endif | ||
41 | |||
42 | #include "llmediaimplgstreamer.h" | ||
43 | |||
37 | extern "C" { | 44 | extern "C" { |
38 | #include <gst/gst.h> | 45 | #include <gst/gst.h> |
39 | #include <gst/gstelement.h> | 46 | #include <gst/gstelement.h> |
40 | } | 47 | } |
41 | 48 | ||
49 | #if LL_WINDOWS | ||
50 | #pragma warning(default : 4244) | ||
51 | #endif | ||
52 | |||
42 | #include "llmediamanager.h" | 53 | #include "llmediamanager.h" |
43 | #include "llmediaimplregister.h" | 54 | #include "llmediaimplregister.h" |
44 | 55 | ||