Commit a2ec3f67 authored by Hugo Beauzée-Luyssen's avatar Hugo Beauzée-Luyssen

qsv: Remove erroneous check

This was causing the first frame to have no pts/dts
parent 5f63e554
......@@ -621,9 +621,6 @@ static void qsv_set_block_flags(block_t *block, uint16_t frame_type)
static void qsv_set_block_ts(encoder_t *enc, encoder_sys_t *sys, block_t *block, mfxBitstream *bs)
if (!bs->TimeStamp)
block->i_pts = qsv_timestamp_to_mtime(bs->TimeStamp) + sys->offset_pts;
block->i_dts = qsv_timestamp_to_mtime(bs->DecodeTimeStamp) + sys->offset_pts;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment