x264enc: handle possibly negative DTS provided by codec
authorMark Nauwelaerts <mark.nauwelaerts@collabora.co.uk>
Fri, 7 Sep 2012 15:38:18 +0000 (17:38 +0200)
committerMark Nauwelaerts <mark.nauwelaerts@collabora.co.uk>
Fri, 7 Sep 2012 15:38:40 +0000 (17:38 +0200)
commit839e75d5d145d486a5c114f8f9f7ea362d12866f
tree4a7454f641b15f753ad73c1bd36c242971b85f8f
parent67342c46b660da36e840a6293835925b6763c064
x264enc: handle possibly negative DTS provided by codec

... by arranging for an offset such that DTS == PTS for keyframes,
which is expected elsewhere to go along with semantics of PTS and DTS.

Fixes https://bugzilla.gnome.org/show_bug.cgi?id=679443
ext/x264/gstx264enc.c
ext/x264/gstx264enc.h