From 40d68dd2197fb860d2f9307f8381a3181c636077 Mon Sep 17 00:00:00 2001 From: beveloper Date: Sat, 24 Jan 2004 16:55:14 +0000 Subject: [PATCH] removed codec registration bug, raw formats working again git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6254 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- .../media/plugins/raw_decoder/RawDecoderPlugin.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/add-ons/media/plugins/raw_decoder/RawDecoderPlugin.cpp b/src/add-ons/media/plugins/raw_decoder/RawDecoderPlugin.cpp index 4c226703a7..c841f7748e 100644 --- a/src/add-ons/media/plugins/raw_decoder/RawDecoderPlugin.cpp +++ b/src/add-ons/media/plugins/raw_decoder/RawDecoderPlugin.cpp @@ -492,10 +492,10 @@ RawDecoderPlugin::RegisterDecoder() // audio decoder - description.family = B_MISC_FORMAT_FAMILY; + description.family = B_BEOS_FORMAT_FAMILY; description.u.beos.format = B_BEOS_FORMAT_RAW_AUDIO; - format.type = B_MEDIA_ENCODED_AUDIO; - format.u.encoded_audio = media_encoded_audio_format::wildcard; + format.type = B_MEDIA_RAW_AUDIO; + format.u.raw_audio = media_multi_audio_format::wildcard; status_t status = formats.MakeFormatFor(&description, 1, &format); if (status < B_OK) @@ -504,8 +504,8 @@ RawDecoderPlugin::RegisterDecoder() // video decoder description.u.beos.format = B_BEOS_FORMAT_RAW_VIDEO; - format.type = B_MEDIA_ENCODED_VIDEO; - format.u.encoded_video = media_encoded_video_format::wildcard; + format.type = B_MEDIA_RAW_VIDEO; + format.u.raw_video = media_raw_video_format::wildcard; return formats.MakeFormatFor(&description, 1, &format); }