From 920be2076f84c943fcbcf8bd63960d22b1964c4a Mon Sep 17 00:00:00 2001 From: Adrien Destugues Date: Wed, 29 Oct 2014 22:47:32 +0100 Subject: [PATCH] Re-enable raw audio ffmpeg output. --- .../media/plugins/ffmpeg/EncoderTable.cpp | 26 +++++++++---------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/src/add-ons/media/plugins/ffmpeg/EncoderTable.cpp b/src/add-ons/media/plugins/ffmpeg/EncoderTable.cpp index a404c47167..69525eb85b 100644 --- a/src/add-ons/media/plugins/ffmpeg/EncoderTable.cpp +++ b/src/add-ons/media/plugins/ffmpeg/EncoderTable.cpp @@ -102,6 +102,19 @@ const EncoderDescription gEncoderTable[] = { B_MEDIA_ENCODED_AUDIO, 10 }, + { + { + "Raw audio", + "pcm", + 0, + 0, + { 0 } + }, + B_ANY_FORMAT_FAMILY, + B_MEDIA_RAW_AUDIO, + B_MEDIA_ENCODED_AUDIO, + 1 + }, // All of those crash ffmpeg in one way or another... #if 0 { @@ -208,19 +221,6 @@ const EncoderDescription gEncoderTable[] = { B_MEDIA_ENCODED_AUDIO, 10 }, - { - { - "Raw audio", - "pcm", - 0, - 0, - { 0 } - }, - B_ANY_FORMAT_FAMILY, - B_MEDIA_RAW_AUDIO, - B_MEDIA_ENCODED_AUDIO, - 1 - }, { { "Dolby Digital (AC-3)",