[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:
Ding Wei
2018-04-23 09:54:29 +08:00
committed by Herman Chen
parent 2f5bd0bffb
commit 7716b36af8
8 changed files with 6 additions and 61 deletions

View File

@@ -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;
}