diff options
author | Mark Nauwelaerts <mark.nauwelaerts@collabora.co.uk> | 2012-09-07 17:38:18 +0200 |
---|---|---|
committer | Mark Nauwelaerts <mark.nauwelaerts@collabora.co.uk> | 2012-09-07 17:38:40 +0200 |
commit | 839e75d5d145d486a5c114f8f9f7ea362d12866f (patch) | |
tree | 4a7454f641b15f753ad73c1bd36c242971b85f8f /ext/x264/gstx264enc.h | |
parent | 67342c46b660da36e840a6293835925b6763c064 (diff) |
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
Diffstat (limited to 'ext/x264/gstx264enc.h')
-rw-r--r-- | ext/x264/gstx264enc.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/x264/gstx264enc.h b/ext/x264/gstx264enc.h index 0cf2e553..725cff0f 100644 --- a/ext/x264/gstx264enc.h +++ b/ext/x264/gstx264enc.h @@ -51,6 +51,7 @@ struct _GstX264Enc x264_t *x264enc; x264_param_t x264param; gint current_byte_stream; + GstClockTime dts_offset; /* List of frame/buffer mapping structs for * pending frames */ |