[Bug 752106] baseparse: makes up bogus DTS for audio

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Wed Jul 8 02:59:37 PDT 2015


https://bugzilla.gnome.org/show_bug.cgi?id=752106

Rajesh Singh <rajeshsingh512 at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |rajeshsingh512 at gmail.com

--- Comment #6 from Rajesh Singh <rajeshsingh512 at gmail.com> ---
Whenever a new buffer is arrived, its being parsed in the function
“gst_flac_parse_parse_frame()” defined in file gstflacparse.c
This function is doing following things:
1.    It is calculating buffer PTS value every time based on sample number and
sample rate, which is correct
    GST_BUFFER_TIMESTAMP (buffer) = gst_util_uint64_scale
(flacparse->sample_number, flacparse->block_size * GST_SECOND,
flacparse->samplerate);
2.    Here we are doing nothing to recalculate the DTS of the same buffer. DTS
value is maintained by the base parse. 
3.    When that buffer is pushed by API “gst_pad_push()” , for certain streams,
PTS is correct value but DTS is getting ahead of PTS. Which is an error. 
4.    This patch is an error check, under no conditions, DTS value should
exceeds the PTS value.
5.    If this patch is not applied then for certain streams, we observe
glitches/no sound after seek as, DTS value is getting exceeded by PTS.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list