the unimplemented printout was driving me crazy, so here they are: media_encode_info and media_decode_info struct initializers

git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5784 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
shatty
2003-12-28 12:23:00 +00:00
parent f339b6e0b5
commit 8bd1429511
+14 -2
View File
@@ -7,6 +7,7 @@
#include <MediaNode.h>
#include <stdio.h>
#include <string.h>
#include <stdint.h>
#include "debug.h"
/*************************************************************
@@ -1044,13 +1045,24 @@ status_t media_realtime_init_thread(thread_id thread, size_t stack_used, uint32
media_encode_info::media_encode_info()
{
UNIMPLEMENTED();
flags = 0;
used_data_size = 0;
start_time = 0;
time_to_encode = INT64_MAX;
file_format_data = NULL;
file_format_data_size = 0;
codec_data = NULL;
codec_data_size = 0;
}
media_decode_info::media_decode_info()
{
UNIMPLEMENTED();
time_to_decode = INT64_MAX;
file_format_data = NULL;
file_format_data_size = 0;
codec_data = NULL;
codec_data_size = 0;
}