summaryrefslogtreecommitdiff
path: root/xine/vo_lastpts.c
diff options
context:
space:
mode:
authorcvs2svn <admin@example.com>2010-04-04 19:20:29 +0000
committercvs2svn <admin@example.com>2010-04-04 19:20:29 +0000
commitcde3ee7dade952baf6274f38ca81b316fbcf0c6a (patch)
treefd73f71d41a6d9b9a66c37eb3e6e172a6155aed3 /xine/vo_lastpts.c
parent07de8081b90d309a2b8aaa6050b8e71fa017ae2f (diff)
downloadxineliboutput-libbluray-r103.tar.gz
xineliboutput-libbluray-r103.tar.bz2
This commit was manufactured by cvs2svn to create tag 'libbluray-r103'.libbluray-r103
Diffstat (limited to 'xine/vo_lastpts.c')
-rw-r--r--xine/vo_lastpts.c59
1 files changed, 0 insertions, 59 deletions
diff --git a/xine/vo_lastpts.c b/xine/vo_lastpts.c
deleted file mode 100644
index 75f1409b..00000000
--- a/xine/vo_lastpts.c
+++ /dev/null
@@ -1,59 +0,0 @@
-/*
- * vo_lastpts.c:
- *
- * See the main source file 'xineliboutput.c' for copyright information and
- * how to reach the author.
- *
- * $Id: vo_lastpts.c,v 1.2 2010-01-30 19:26:16 phintuka Exp $
- *
- */
-
-#include <stdlib.h>
-
-#include <xine/xine_internal.h>
-#include <xine/video_out.h>
-#include <xine/metronom.h>
-
-#include "xvdr_metronom.h"
-
-#include "vo_hook.h"
-
-/*
- * lastpts_hook_t
- */
-typedef struct {
- vo_driver_hook_t h;
-} lastpts_hook_t;
-
-/*
- * interface
- */
-
-/*
- * override display_frame()
- */
-
-static void lastpts_display_frame(vo_driver_t *self, vo_frame_t *vo_img)
-{
- lastpts_hook_t *this = (lastpts_hook_t*)self;
-
- if (vo_img->stream) {
- vo_img->stream->metronom->set_option(vo_img->stream->metronom, XVDR_METRONOM_LAST_VO_PTS, vo_img->pts);
- }
-
- this->h.orig_driver->display_frame(this->h.orig_driver, vo_img);
-}
-
-
-/*
- * init()
- */
-vo_driver_t *vo_lastpts_init(void)
-{
- lastpts_hook_t *this = calloc(1, sizeof(lastpts_hook_t));
-
- this->h.vo.display_frame = lastpts_display_frame;
-
- return &this->h.vo;
-}
-