From 5625c0cd8bbaab5afe74a7a0caaaefa1189b9464 Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Wed, 23 Mar 2011 14:01:58 +0000 Subject: [PATCH] Added m4v as a handled movie file extension --- src/osgPlugins/ffmpeg/ReaderWriterFFmpeg.cpp | 1 + src/osgPlugins/xine/ReaderWriterXine.cpp | 1 + 2 files changed, 2 insertions(+) diff --git a/src/osgPlugins/ffmpeg/ReaderWriterFFmpeg.cpp b/src/osgPlugins/ffmpeg/ReaderWriterFFmpeg.cpp index 173d30915..31a721638 100644 --- a/src/osgPlugins/ffmpeg/ReaderWriterFFmpeg.cpp +++ b/src/osgPlugins/ffmpeg/ReaderWriterFFmpeg.cpp @@ -50,6 +50,7 @@ public: supportsExtension("mkv", "Matroska"); supportsExtension("mjpeg", "Motion JPEG"); supportsExtension("mp4", "MPEG-4"); + supportsExtension("m4v", "MPEG-4"); supportsExtension("sav", "Unknown"); supportsExtension("3gp", "3G multi-media format"); supportsExtension("sdp", "Session Description Protocol"); diff --git a/src/osgPlugins/xine/ReaderWriterXine.cpp b/src/osgPlugins/xine/ReaderWriterXine.cpp index 1b1e0cd1d..b3b83e268 100644 --- a/src/osgPlugins/xine/ReaderWriterXine.cpp +++ b/src/osgPlugins/xine/ReaderWriterXine.cpp @@ -316,6 +316,7 @@ class ReaderWriterXine : public osgDB::ReaderWriter supportsExtension("ogv",""); supportsExtension("flv",""); supportsExtension("mov",""); + supportsExtension("m4v",""); supportsExtension("mpg","Mpeg movie format"); supportsExtension("mpv","Mpeg movie format"); supportsExtension("wmv","");