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:
parent
d4b904f7d1
commit
5fb8aa7774
1 changed files with 5 additions and 2 deletions
|
@ -212,7 +212,8 @@ Window* MediaWindow::getWindow() const
|
||||||
|
|
||||||
void MediaWindow::getMediaFilters( FilterNameVector& rFilterNameVector )
|
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",
|
"AU Audio", "au",
|
||||||
"AVI", "avi",
|
"AVI", "avi",
|
||||||
"CD Audio", "cda",
|
"CD Audio", "cda",
|
||||||
|
@ -225,7 +226,9 @@ void MediaWindow::getMediaFilters( FilterNameVector& rFilterNameVector )
|
||||||
"Quicktime Video", "mov",
|
"Quicktime Video", "mov",
|
||||||
"Vivo Video", "viv",
|
"Vivo Video", "viv",
|
||||||
"WAVE Audio", "wav",
|
"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 )
|
for( size_t i = 0; i < SAL_N_ELEMENTS(pFilters); i += 2 )
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue