mediawindow.cxx (f39251c4) mediawindow.cxx (a00e7f9f)
1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements. See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership. The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance

--- 352 unchanged lines hidden (view full) ---

361// -------------------------------------------------------------------------
362
363void MediaWindow::getMediaFilters( FilterNameVector& rFilterNameVector )
364{
365 static const char* pFilters[] = { "AIF Audio", "aif;aiff",
366 "AU Audio", "au",
367 "AVI", "avi",
368 "CD Audio", "cda",
1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements. See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership. The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance

--- 352 unchanged lines hidden (view full) ---

361// -------------------------------------------------------------------------
362
363void MediaWindow::getMediaFilters( FilterNameVector& rFilterNameVector )
364{
365 static const char* pFilters[] = { "AIF Audio", "aif;aiff",
366 "AU Audio", "au",
367 "AVI", "avi",
368 "CD Audio", "cda",
369 "FLAC Audio", "flac",
370 "Flash Video", "flv",
369 "Matroska Media", "mkv",
370 "MIDI Audio", "mid;midi",
371 "MPEG Audio", "mp2;mp3;mpa",
372 "MPEG Video", "mpg;mpeg;mpv;mp4",
371 "Matroska Media", "mkv",
372 "MIDI Audio", "mid;midi",
373 "MPEG Audio", "mp2;mp3;mpa",
374 "MPEG Video", "mpg;mpeg;mpv;mp4",
373 "Ogg bitstream", "ogg",
375 "Ogg bitstream", "ogg;oga;ogv",
374 "Quicktime Video", "mov",
375 "Vivo Video", "viv",
376 "Quicktime Video", "mov",
377 "Vivo Video", "viv",
376 "WAVE Audio", "wav" };
378 "WAVE Audio", "wav",
379 "Windows Media Video", "wmv" };
377
378 unsigned int i;
379 for( i = 0; i < ( sizeof( pFilters ) / sizeof( char* ) ); i += 2 )
380 {
381 rFilterNameVector.push_back( ::std::make_pair< ::rtl::OUString, ::rtl::OUString >(
382 ::rtl::OUString::createFromAscii( pFilters[ i ] ),
383 ::rtl::OUString::createFromAscii( pFilters[ i + 1 ] ) ) );
384 }

--- 185 unchanged lines hidden ---
380
381 unsigned int i;
382 for( i = 0; i < ( sizeof( pFilters ) / sizeof( char* ) ); i += 2 )
383 {
384 rFilterNameVector.push_back( ::std::make_pair< ::rtl::OUString, ::rtl::OUString >(
385 ::rtl::OUString::createFromAscii( pFilters[ i ] ),
386 ::rtl::OUString::createFromAscii( pFilters[ i + 1 ] ) ) );
387 }

--- 185 unchanged lines hidden ---