[mythtv-commits] mythtv commit: r23363 by mdean
mythtv at cvs.mythtv.org
mythtv at cvs.mythtv.org
Fri Jan 29 22:31:10 UTC 2010
Author: mdean
Date: 2010-01-29 22:31:09 +0000 (Fri, 29 Jan 2010)
New Revision: 23363
Changeset: http://svn.mythtv.org/trac/changeset/23363
Modified:
trunk/mythtv/programs/mythtranscode/main.cpp
trunk/mythtv/programs/mythtranscode/mpeg2fix.cpp
trunk/mythtv/programs/mythtranscode/mpeg2fix.h
Log:
Modify mythtranscode such that it doesn't attempt to transcode files when --buildindex is used. It also prevents mythtranscode from generating a seek table for Matroska file (since the presence of the seek table broke playback of some files until the seek table was cleared, and libav* seeking in MKV files is rather good in the Internal player).
Since mythtranscode will build a seek table after transcoding recording files, the use of --buildindex implies that no transcoding is being performed. Users who have used --buildindex along with a transcode command for MythVideo video files may need to explicitly run a separate mythtranscode --buildindex command after the transcode (if they want a video seek table).
This patch changes the application flow sufficiently that we no longer enter the code block that was causing the 0-byte .tmp file when running a --buildindex, as reported on #5110. Therefore, this also fixes that issue.
Thanks to Simon Walls for the patch on #5110 (which was correct, but is OBE by this change) and to Taylor Ralph for this patch.
Fixes #7986. Fixes #5110.
More information about the mythtv-commits
mailing list