diff options
author | Youness Alaoui <youness.alaoui@collabora.co.uk> | 2012-04-17 22:46:12 -0400 |
---|---|---|
committer | Olivier CrĂȘte <olivier.crete@collabora.com> | 2012-04-18 15:41:57 -0400 |
commit | f1ec8fcb054355e6411bcc6473aae8b00577b5c5 (patch) | |
tree | 6c0362777f5dc18244117c0d2b3ad239d0d59b22 /gst/mpegpsmux | |
parent | 1059905237f28a5910221c34cc23a121cde175fe (diff) | |
download | gstreamer-plugins-bad-f1ec8fcb054355e6411bcc6473aae8b00577b5c5.tar.gz |
jpegparse: Do not set the duration to the input buffer's duration unless valid
This causes a bug where the first buffer has ts = 0, dur=X, the second buffer
has ts=X (because of ts += duration), dur=-1, then the following buffers
will start having a non valid timestamp.
The real duration is only calculated during the caps negociation when there
is a framerate available and the buffer's duration is invalid.
Diffstat (limited to 'gst/mpegpsmux')
0 files changed, 0 insertions, 0 deletions