[Bug 707673] tsdemux: MPTS clock skew issue

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Wed Feb 26 07:38:31 PST 2014


https://bugzilla.gnome.org/show_bug.cgi?id=707673
  GStreamer | gst-plugins-bad | 1.0.8

--- Comment #10 from Edward Hervey <bilboed at bilboed.com> 2014-02-26 15:59:56 UTC ---
(In reply to comment #9)
> Hi,
> 
> Let me explain
> 
> The function mpegts_packetizer_parse_adaptation_field_control() gets called for
> for every packet parsing, whether it belongs to my intended program(set through
> program-number property) or any other program which is present in the MPTS.
> 
> So essentially clock skew calculation involves (line:380 in git master) calling
> of get_pcr_table() which gets PCR of a TS of current program which might not be
> my intended program which causes wrong skew computation

  The clock skew calculation is completely decoupled from the programs.

  That is why you (might) have several PCRTable structures present, one per PCR
stream.

  tsdemux can, based on the selected program (and therefore associated PCR
PID), select which PCRtable is used to do the various conversions.

  If you look at all the mpegts_packetizer_*_to_*() functions, you will see
they all have a pcr_pid field by which you can specify which PCRTable will be
used.

  Does that clarify things ?

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- 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