pic_type = 2;
if ((picture_type == I_PICTURE) && pts_valid) {
vf->pts = pts;
+ vf->pts_us64 = pts_us64;
if ((repeat_count > 1) && avi_flag) {
/* next_pts = pts +
* (vavs_amstream_dec_info.rate *
next_pts = 0;
} else {
vf->pts = next_pts;
+ if (vf->pts == 0) {
+ vf->pts_us64 = 0;
+ }
if ((repeat_count > 1) && avi_flag) {
/* vf->duration =
* vavs_amstream_dec_info.rate *
pr_info("buffer_index %d, canvas addr %x\n",
buffer_index, vf->canvas0Addr);
}
- vf->pts = (pts_valid)?pts:0;
- vf->pts_us64 = (pts_valid) ? pts_us64 : 0;
+
+ vf->pts = (pts_valid)?pts:0;
+ /*
+ *vf->pts_us64 = (pts_valid) ? pts_us64 : 0;
+ */
vfbuf_use[buffer_index]++;
vf->mem_handle =
decoder_bmmu_box_get_mem_handle(
vf->pts = 0;
else
vf->pts = next_pts;
-
+ if (vf->pts == 0) {
+ vf->pts_us64 = 0;
+ }
if ((repeat_count > 1) && avi_flag) {
/* vf->duration = vavs_amstream_dec_info.rate *
* repeat_count >> 1;
next_pts = 0;
} else {
vf->pts = next_pts;
+ if (vf->pts == 0) {
+ vf->pts_us64 = 0;
+ }
if ((repeat_count > 1) && avi_flag) {
/* vf->duration =
* vavs_amstream_dec_info.rate *
index2canvas(buffer_index);
vf->type_original = vf->type;
vf->pts = (pts_valid)?pts:0;
- vf->pts_us64 = (pts_valid) ? pts_us64 : 0;
+ /*
+ *vf->pts_us64 = (pts_valid) ? pts_us64 : 0;
+ */
if (debug_flag & AVS_DEBUG_PRINT) {
pr_info("buffer_index %d, canvas addr %x\n",
buffer_index, vf->canvas0Addr