Fixing an "error" in how BMediaDecoder was built.
* If reading BeBook the class should be B_NO_INIT until we have called SetTo * When I at it, any suggestion on how a test tool for BMediaEncoder should look like?
This commit is contained in:
@@ -15,7 +15,7 @@
|
|||||||
|
|
||||||
BMediaDecoder::BMediaDecoder()
|
BMediaDecoder::BMediaDecoder()
|
||||||
: fDecoder(NULL),
|
: fDecoder(NULL),
|
||||||
fInitStatus(B_OK)
|
fInitStatus(B_NO_INIT)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -24,7 +24,7 @@ BMediaDecoder::BMediaDecoder(const media_format *in_format,
|
|||||||
const void *info,
|
const void *info,
|
||||||
size_t info_size)
|
size_t info_size)
|
||||||
: fDecoder(NULL),
|
: fDecoder(NULL),
|
||||||
fInitStatus(B_OK)
|
fInitStatus(B_NO_INIT)
|
||||||
{
|
{
|
||||||
SetTo(in_format, info, info_size);
|
SetTo(in_format, info, info_size);
|
||||||
}
|
}
|
||||||
@@ -32,7 +32,7 @@ BMediaDecoder::BMediaDecoder(const media_format *in_format,
|
|||||||
|
|
||||||
BMediaDecoder::BMediaDecoder(const media_codec_info *mci)
|
BMediaDecoder::BMediaDecoder(const media_codec_info *mci)
|
||||||
: fDecoder(NULL),
|
: fDecoder(NULL),
|
||||||
fInitStatus(B_OK)
|
fInitStatus(B_NO_INIT)
|
||||||
{
|
{
|
||||||
SetTo(mci);
|
SetTo(mci);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user