videodecoder: Don't blindly assign DTS to PTS
authorDavid Schleef <ds@schleef.org>
Fri, 8 Feb 2013 23:31:28 +0000 (15:31 -0800)
committerDavid Schleef <ds@schleef.org>
Mon, 11 Feb 2013 19:57:08 +0000 (11:57 -0800)
commit31312d586e2f5282aa95fa7abbf9413c7f1bda34
treee6506ca96a769674fe9d8f121c7609f02fe6b59f
parentceb6585d265cda1b82bda8305815f3f605f2d73e
videodecoder: Don't blindly assign DTS to PTS

DTS and PTS usually have a non-zero offset between them in MPEG-TS,
so assigning DTS to PTS is almost always wrong.  The other, newer
timestamp recovery code does it correctly if we leave it as invalid.
gst-libs/gst/video/gstvideodecoder.c