[mythtv-commits] mythtv/master commit: 61f07e0d4 by Gavin Hurlbut (Beirdo)
MythTV
noreply at mythtv.org
Thu Mar 10 19:54:00 UTC 2011
Author: Gavin Hurlbut <ghurlbut at mythtv.org>
Change Date: 2011-03-10T11:43:30-08:00
Push Date: 2011/03/10 11:53:58 -0800
Repository: mythtv
Branch: master
New Revision: 61f07e0d4f1e115d97faaf83506a0738e0cb2e96
Changeset: https://github.com/MythTV/mythtv/commit/61f07e0d4
Log:
Make mythcommflag terminate early on 0-byte files
I had a rash of 0-byte files the other day, and I found that mythcommflag
would sit and spin trying to create some initial buffers, or something along
those lines. This change makes it check if the file is 0 bytes. If it is,
it will immediately quit with an error, rather than indefinitely try to
grind on it.
This may need some tweaking to deal with commflagging while recording as it
could cause a race condition if the file has no data at the moment that
mythcommflag starts.
Modified:
mythtv/programs/mythcommflag/main.cpp
More information about the mythtv-commits
mailing list