mirror of
https://github.com/nyanmisaka/mpp.git
synced 2025-10-05 17:16:50 +08:00
[mpeg4][h263]: remove internal pts mode
tips: the timestamp in slice header is not useful, except for calculate increment of dispaly frame. so, it cannot use to dispaly, and remove it. Change-Id: I748d553d40c4736e2f5ef98d8a8519fcc5e533e0 Signed-off-by: Ding Wei <leo.ding@rock-chips.com>
This commit is contained in:
@@ -163,19 +163,11 @@ static MPP_RET mpg4d_flush(void *dec)
|
||||
|
||||
static MPP_RET mpg4d_control(void *dec, RK_S32 cmd_type, void *param)
|
||||
{
|
||||
Mpg4dCtx *p;
|
||||
|
||||
if (NULL == dec) {
|
||||
mpp_err_f("found NULL intput\n");
|
||||
return MPP_ERR_NULL_PTR;
|
||||
}
|
||||
|
||||
p = (Mpg4dCtx *)dec;
|
||||
switch (cmd_type) {
|
||||
case MPP_DEC_SET_INTERNAL_PTS_ENABLE : {
|
||||
mpp_mpg4_parser_set_pts_mode(p->parser, 0);
|
||||
} break;
|
||||
}
|
||||
(void)cmd_type;
|
||||
(void)param;
|
||||
return MPP_OK;
|
||||
}
|
||||
|
Reference in New Issue
Block a user