[Bug 745192] matroskademux: V_MS-VFW-FOURCC streams have DTS instead of PTS

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Tue Mar 3 01:01:06 PST 2015


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

--- Comment #20 from Nicola <lists at svrinformatica.it> ---
Created attachment 298389
  --> https://bugzilla.gnome.org/attachment.cgi?id=298389&action=edit
update collected pad duration only for buffers with different timestamp

after the latest patch avidemux ! matroskamux works for dts only file (for
example divx inside avi) but produce wrong duration for some files because
collect pad duration result greater than real duration. This patch solve also
this issue,

here is a log that show the duplicated ts for different buffers

/GstPipeline:pipeline0/GstFakeSink:fakesink0: last-message = chain   *******
(fakesink0:sink) (4965 bytes, dts: 0:01:05.222222100, pts: none, duration:
0:00:00.039989100, offset: 16690594, offset_end: -1, flags: 00002000 delta-unit
) 0x7fd0d80034c0
/GstPipeline:pipeline0/GstFakeSink:fakesink0: last-message = chain   *******
(fakesink0:sink) (8 bytes, dts: 0:01:05.222222100, pts: none, duration:
0:00:00.039989100, offset: 16695559, offset_end: -1, flags: 00002000 delta-unit
) 0x7fd0d80035d0

the patch can help in general and collectad duration should be updated from
buffer duration only if the buffer timestamps are not equal

-- 
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