[mythtv-commits] mythtv commit: r27338 by beirdo
mythtv at cvs.mythtv.org
mythtv at cvs.mythtv.org
Thu Nov 25 00:25:38 UTC 2010
Author: beirdo
Date: 2010-11-25 00:25:38 +0000 (Thu, 25 Nov 2010)
New Revision: 27338
Changeset: http://svn.mythtv.org/trac/changeset/27338
Log:
Fix the in-recording seektable for MPEG2-TS. Also, make the in-recording
seektable for MPEG2-PS better, although not yet quite correct. In particular,
the file offsets are consistently earlier than they should be, but at least
this makes the previews functional.
The original issue seemed to be that we were recording the offest AFTER the
packet in question, rather than the offset at the beginning of the packet. In
MPEG2-TS, due to the packetizing of the stream, it's easy to backtrack to the
beginning of the previous packet, but in MPEG2-PS, the frames are all of
differing sizes, and I haven't quite got it tweaked right yet.
Refs #9256
Modified:
trunk/mythtv/libs/libmythtv/dtvrecorder.cpp
trunk/mythtv/libs/libmythtv/dtvrecorder.h
More information about the mythtv-commits
mailing list