From 757b97ff99fe66856afccaf1ee9258132285186b Mon Sep 17 00:00:00 2001 From: Fred Gleason Date: Sun, 21 Mar 2021 17:33:16 -0400 Subject: [PATCH] 2021-03-21 Fred Gleason * Fixed a bug in 'RDMarkerPlayer' that would cause the play cursor position to fail to be properly initialized when opening a new cut. Signed-off-by: Fred Gleason --- ChangeLog | 3 +++ lib/rdmarkerplayer.cpp | 1 + 2 files changed, 4 insertions(+) diff --git a/ChangeLog b/ChangeLog index dab0fd33..6537e6a5 100644 --- a/ChangeLog +++ b/ChangeLog @@ -21324,3 +21324,6 @@ * Fixed a bug in 'RDMarkerView' that caused PlayTo operations to fail if the target marker was within 2 seconds of the start of the cut. +2021-03-21 Fred Gleason + * Fixed a bug in 'RDMarkerPlayer' that would cause the play cursor + position to fail to be properly initialized when opening a new cut. diff --git a/lib/rdmarkerplayer.cpp b/lib/rdmarkerplayer.cpp index e2636735..477d09d9 100644 --- a/lib/rdmarkerplayer.cpp +++ b/lib/rdmarkerplayer.cpp @@ -150,6 +150,7 @@ bool RDMarkerPlayer::setCut(unsigned cartnum,int cutnum) &d_cae_stream,&d_cae_handle)) { return false; } + rda->cae()->positionPlay(d_cae_handle,0); RDSetMixerOutputPort(rda->cae(),d_cards.first(),d_cae_stream,d_port); return true;