fdo#36635 Added WMV/WMA/AAC to list of Movie and Sound File Types

WMV, WMA and AAC are all supported but were not listed in movie and sound
file types (Insert -> Movie and Sound...) so they would not appear in
file browser unless you chose "Show All Files". Added these to list

	modified:   avmedia/source/viewer/mediawindow.cxx

Change-Id: I459b41a1ca647d7a90cec75436438097df5df962
Reviewed-on: https://gerrit.libreoffice.org/2287
Reviewed-by: Andras Timar <atimar@suse.com>
Tested-by: Andras Timar <atimar@suse.com>
This commit is contained in:
Joel Madero 2013-02-19 17:01:33 -08:00 committed by Andras Timar
parent d4b904f7d1
commit 5fb8aa7774

View file

@ -212,7 +212,8 @@ Window* MediaWindow::getWindow() const
void MediaWindow::getMediaFilters( FilterNameVector& rFilterNameVector )
{
static const char* pFilters[] = { "AIF Audio", "aif;aiff",
static const char* pFilters[] = { "Advanced Audio Coding", "aac",
"AIF Audio", "aif;aiff",
"AU Audio", "au",
"AVI", "avi",
"CD Audio", "cda",
@ -225,7 +226,9 @@ void MediaWindow::getMediaFilters( FilterNameVector& rFilterNameVector )
"Quicktime Video", "mov",
"Vivo Video", "viv",
"WAVE Audio", "wav",
"WebM Video", "webm" };
"WebM Video", "webm",
"Windows Media Audio", "wma",
"Windows Media Video", "wmv"};
for( size_t i = 0; i < SAL_N_ELEMENTS(pFilters); i += 2 )
{