[mythtv-commits] Ticket #7961: Fix handling of streams without PTS values in every frame
MythTV
mythtv at cvs.mythtv.org
Mon Jan 25 19:19:42 UTC 2010
#7961: Fix handling of streams without PTS values in every frame
-------------------------------------------+--------------------------------
Reporter: peter.alm@… | Owner: ijr
Type: patch | Status: new
Priority: minor | Milestone: unknown
Component: MythTV - General | Version: unknown
Severity: medium | Mlocked: 0
-------------------------------------------+--------------------------------
The current handling of streams without pts values in every frame is
broken, frames without a stored pts value will have a temppts value of 0,
not below 0 which the current check looks for.
Another problem with the current implementation is that it uses time_base
when interpolating the pts value, on the channels I have seen that does
not set the pts value, the time_base value is not a 1:1 mapping to the
frame rate (50fps vs a time_base of 90,000) so this patch changes this
behaviour to use curstream->r_frame_rate instead.
--
Ticket URL: <http://svn.mythtv.org/trac/ticket/7961>
MythTV <http://www.mythtv.org/>
MythTV
More information about the mythtv-commits
mailing list