Commit 9364e4cf authored by Erwan Croze's avatar Erwan Croze 👋🏻
Browse files

Adding MediaCodec reset + Refactoring android_mediacodec.cpp

parent 2b8b1c13
This diff is collapsed.
......@@ -37,6 +37,7 @@ typedef struct {
void *priv_ptr;
} AMediaImage;
void AMediaCodec_reset(AMediaCodec *codec);
void AMediaCodec_setParams(AMediaCodec *codec, const char *params);
bool AMediaCodec_getInputImage(AMediaCodec *codec, int index, AMediaImage *image);
bool AMediaCodec_getOutputImage(AMediaCodec *codec, int index, AMediaImage *image);
......@@ -46,4 +47,3 @@ bool_t AMediaImage_isAvailable(void);
#ifdef __cplusplus
} // extern "C"
......@@ -325,7 +325,8 @@ static void enc_process(MSFilter *f) {
case MSH264NaluTypePPS:
ms_warning("MSMediaCodecH264Enc: unexpecting starting PPS");
case MSH264NaluTypeSEI:
ms_warning("MSMediaCodecH264Enc: unknowning case");
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment