msdk: enc: set pts and dts, fix inverted sync_point flag
authorScott D Phillips <scott.d.phillips@intel.com>
Thu, 18 May 2017 17:36:50 +0000 (10:36 -0700)
committerSebastian Dröge <sebastian@centricular.com>
Mon, 12 Jun 2017 07:00:56 +0000 (10:00 +0300)
commit0c924efebf0d98fb1a274ddbc8faa473fb7e7fc8
treeeff0896105292247e4e22921099672cfea441a2f
parent5801d0b47162f6609ffff3b6b5bb625ea7e144d7
msdk: enc: set pts and dts, fix inverted sync_point flag

Set the pts and dts on the frame that we receive from the msdk.
Also fix the inverted logic in setting sync points, previously we
were marking all frames as sync points except IDRs.

https://bugzilla.gnome.org/show_bug.cgi?id=782801
sys/msdk/gstmsdkenc.c