[mythtv-commits] Ticket #7961: Fix handling of streams without PTS values in every frame
MythTV
mythtv at cvs.mythtv.org
Fri Feb 26 05:07:48 UTC 2010
#7961: Fix handling of streams without PTS values in every frame
-------------------------------------------+--------------------------------
Reporter: peter.alm@… | Owner: janne
Type: patch | Status: closed
Priority: critical | Milestone: 0.23
Component: MythTV - Video Playback | Version: 0.22-fixes
Severity: medium | Resolution: fixed
Mlocked: 0 |
-------------------------------------------+--------------------------------
Changes (by tralph):
* status: new => closed
* resolution: => fixed
Comment:
(In [23612]) Correct the video timestamp fixup code by making the
following changes:
* Perform fixup when PTS is not available which is indicated by temppts
== 0.
* Calculate temppts using fps instead of context->time_base. The prior
calculation was actually wrong since it also needed to be multiplied by
context->ticks_per_frame. Using fps also allows us to be consistent with
normalized_fps().
This commit is a slight modification of the provided patch.
Thanks to Peter Alm for the patch and sample.
Fixes #7961.
--
Ticket URL: <http://svn.mythtv.org/trac/ticket/7961#comment:6>
MythTV <http://www.mythtv.org/>
MythTV
More information about the mythtv-commits
mailing list