Mailing List archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[vdr] Re: MP3/MPlayer plugin 0.9.4 (development)
On 06 Sep 2004 "Burkhardt Petermann" <bpetermann@xyware.de> wrote:
>> Regarding abort on timer start:
>> If VDR records on the primary device (on a single card system
>> this is the case for all recordings), live viewing is done
>> through transfer mode on the same device. VDR starts the transfer
>> mode regardless of any running player. As the transfer mode
>> internaly is a player and there can be only one active player at
>> a time, the already running player is aborted. Again, this is
>> common to all players.
> this isn't correct. Take a look at the vcd-plugin --> there isn't any abort
> when a timer starts ...
Yes, you're right, I wasn't specific enough: this applies only to
player which leave the video running live in foreground.
There are different play modes which a player can use:
pmAudioVideo (used by dvd,vdc & vdr player):
not affected by timers
pmAudioOnly (mp3 with background mode live):
if VDR isn't tuned to the recording channel -> device tunning
makes player fail (not audio source memory)
if VDR is tuned to the recording channel -> player aborts due
to started tranfermode
pmAudioOnlyBlack (mp3 with background mode black):
theoretically not affected by timers, but due to a "bug" in VDR
up to now the same as pmAudioOnly.
You can apply the small patch below to resolve the problem for
this mode.
--- dvbdevice.c 2004-06-06 13:28:28.000000000 +0200
+++ dvbdevice.c 2004-09-06 17:32:09.000000000 +0200
@@ -856,10 +890,9 @@
CHECK(ioctl(fd_audio, AUDIO_SET_MUTE, false));
break;
case pmAudioVideo:
+ case pmAudioOnlyBlack:
if (playMode == pmNone)
TurnOffLiveMode();
- // continue with next...
- case pmAudioOnlyBlack:
CHECK(ioctl(fd_video, VIDEO_SET_BLANK, true));
CHECK(ioctl(fd_audio, AUDIO_SELECT_SOURCE, AUDIO_SOURCE_MEMORY));
CHECK(ioctl(fd_audio, AUDIO_SET_AV_SYNC, PlayMode == pmAudioVideo));
Regards.
--
Stefan Huelswitt
s.huelswitt@gmx.de | http://www.muempf.de/
Home |
Main Index |
Thread Index