Example #1
0
static void ffmpeg_do_pause (codec_data_t *ifptr)
{
    ffmpeg_codec_t *ffmpeg = (ffmpeg_codec_t *)ifptr;
    //mpeg2_reset(ffmpeg->m_decoder, 0);
    ffmpeg->m_did_pause = 1;
    ffmpeg->m_got_i = false;
    ffmpeg->have_cached_ts = false;
    MP4AV_clear_dts_from_pts(&ffmpeg->pts_to_dts);
}
Example #2
0
static void xvid_do_pause (codec_data_t *ifptr)
{
  // nothing here
  xvid_codec_t *xvid = (xvid_codec_t *)ifptr;
  MP4AV_clear_dts_from_pts(&xvid->pts_to_dts);
}