mirror of
https://github.com/nyanmisaka/mpp.git
synced 2025-10-05 17:16:50 +08:00
[mpeg4]: Fix split conflict problem
For Linux platform running Gstreamer, enable need_split may conflict with bitstream parser within Gstreamer. Change-Id: I8616e173cbae43aaf8fc18aec4dbd680ad38bdf8 Signed-off-by: Johnson Ding <johnson.ding@rock-chips.com>
This commit is contained in:
@@ -90,7 +90,11 @@ static MPP_RET mpg4d_init(void *dec, ParserCfg *cfg)
|
||||
p->frame_slots = cfg->frame_slots;
|
||||
p->packet_slots = cfg->packet_slots;
|
||||
p->task_count = 2;
|
||||
#ifdef __ANDROID__
|
||||
p->need_split = 1;//cfg->need_split;
|
||||
#else
|
||||
p->need_split = cfg->cfg->base.split_parse;
|
||||
#endif
|
||||
p->internal_pts = cfg->cfg->base.internal_pts;
|
||||
p->stream = stream;
|
||||
p->stream_size = stream_size;
|
||||
|
Reference in New Issue
Block a user