diff options
Diffstat (limited to 'indra/llinventory')
-rw-r--r-- | indra/llinventory/llparcel.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/indra/llinventory/llparcel.cpp b/indra/llinventory/llparcel.cpp index 81001a2c9d..15beeec866 100644 --- a/indra/llinventory/llparcel.cpp +++ b/indra/llinventory/llparcel.cpp @@ -332,6 +332,12 @@ void LLParcel::setMediaType(const char* type) // abstraction layer. set_std_string(type, mMediaType); mMediaType = rawstr_to_utf8(mMediaType); + + // This code attempts to preserve legacy movie functioning + if(mMediaType.empty() && ! mMediaURL.empty()) + { + setMediaType("video/vnd.secondlife.qt.legacy"); + } } void LLParcel::setMediaWidth(S32 width) { |