summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-04-01 09:38:38 +0100
committerCaolán McNamara <caolanm@redhat.com>2011-04-01 09:38:38 +0100
commit5aea964e1e94b72f22d62370bdad134523d30908 (patch)
tree8ed8e595028cd5ee238de132e6df668623aed9ed
parentcfdb06ed920fbc4435131a62395a5b404e614def (diff)
add in .webm suffix for jrb
-rw-r--r--avmedia/source/viewer/mediawindow.cxx32
1 files changed, 16 insertions, 16 deletions
diff --git a/avmedia/source/viewer/mediawindow.cxx b/avmedia/source/viewer/mediawindow.cxx
index 1bec5100c5..9d771476fa 100644
--- a/avmedia/source/viewer/mediawindow.cxx
+++ b/avmedia/source/viewer/mediawindow.cxx
@@ -367,22 +367,22 @@ Window* MediaWindow::getWindow() const
void MediaWindow::getMediaFilters( FilterNameVector& rFilterNameVector )
{
- static const char* pFilters[] = { "AIF Audio", "aif;aiff",
- "AU Audio", "au",
- "AVI", "avi",
- "CD Audio", "cda",
- "FLAC Audio", "flac",
- "Matroska Media", "mkv",
- "MIDI Audio", "mid;midi",
- "MPEG Audio", "mp2;mp3;mpa",
- "MPEG Video", "mpg;mpeg;mpv;mp4",
- "Ogg bitstream", "ogg",
- "Quicktime Video", "mov",
- "Vivo Video", "viv",
- "WAVE Audio", "wav" };
-
- unsigned int i;
- for( i = 0; i < ( sizeof( pFilters ) / sizeof( char* ) ); i += 2 )
+ static const char* pFilters[] = { "AIF Audio", "aif;aiff",
+ "AU Audio", "au",
+ "AVI", "avi",
+ "CD Audio", "cda",
+ "FLAC Audio", "flac",
+ "Matroska Media", "mkv",
+ "MIDI Audio", "mid;midi",
+ "MPEG Audio", "mp2;mp3;mpa",
+ "MPEG Video", "mpg;mpeg;mpv;mp4",
+ "Ogg bitstream", "ogg",
+ "Quicktime Video", "mov",
+ "Vivo Video", "viv",
+ "WAVE Audio", "wav",
+ "WebM Video", "webm" };
+
+ for( size_t i = 0; i < SAL_N_ELEMENT(pFIlters); i += 2 )
{
rFilterNameVector.push_back( ::std::make_pair< ::rtl::OUString, ::rtl::OUString >(
::rtl::OUString::createFromAscii(pFilters[i]),