[mythtv-commits] mythtv commits
mythtv at cvs.mythtv.org
mythtv at cvs.mythtv.org
Fri Jun 11 21:30:07 EDT 2004
----------------------------------------------------------------------------
Changes committed by cpinkham on Sat Jun 12 01:25:46 2004
Modified Files:
in mythtv/libs/libmythtv:
mpegrecorder.cpp mpegrecorder.h tv_rec.cpp
Log Message:
Modified mpegrecorder used for recording from ivtv compatible cards to
also allow "recording" from plain mpeg2 files. This is for
DEVELOPMENT/TESTING purposes. Modified tv_rec.cpp to allow LiveTV
to function even if a channel class instance is not created such as
when reading from the afformentioned mpeg2 file. To use the test
functionality, setup a MPEG type tuner as you normally would, then
change the capturecard.videodevice column in the database from
"/dev/videoX" to "file:/the/full/pathname/to/a/valid/mpeg2/file.mpg".
Myth will key off the "file:" prefix and will read from the file
given instead of expecting a v4l2-compatible video device. The
mpeg-2 file will be read and processed just as if the data was
being read from a hardware mpeg2 encoder card.
----------------------------------------------------------------------------
More information about the mythtv-commits
mailing list