summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--xine/xvdr_metronom.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/xine/xvdr_metronom.c b/xine/xvdr_metronom.c
index 1f8f7ba5..4245ee23 100644
--- a/xine/xvdr_metronom.c
+++ b/xine/xvdr_metronom.c
@@ -4,7 +4,7 @@
* See the main source file 'xineliboutput.c' for copyright information and
* how to reach the author.
*
- * $Id: xvdr_metronom.c,v 1.2 2010-01-17 23:03:26 phintuka Exp $
+ * $Id: xvdr_metronom.c,v 1.3 2010-01-26 11:46:33 phintuka Exp $
*
*/
@@ -24,16 +24,16 @@
static void got_video_frame(metronom_t *metronom, vo_frame_t *frame)
{
xvdr_metronom_t *this = (xvdr_metronom_t *)metronom;
- uint64_t pts = frame->pts;
+ int64_t pts = frame->pts;
this->video_frames++;
if (this->frame_decoded)
this->frame_decoded(this->handle, this->video_frames, this->audio_frames);
- if (this->trickspeed < 0) {
+ if (this->trickspeed) {
frame->pts = 0;
- frame->duration *= (-this->trickspeed);
+ frame->duration *= 12; /* GOP */
}
this->orig_metronom->got_video_frame (this->orig_metronom, frame);