summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--xine/xvdr_metronom.c8
-rw-r--r--xine/xvdr_metronom.h4
2 files changed, 10 insertions, 2 deletions
diff --git a/xine/xvdr_metronom.c b/xine/xvdr_metronom.c
index f219927c..4ca3f63b 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.5 2010-02-14 13:40:23 phintuka Exp $
+ * $Id: xvdr_metronom.c,v 1.6 2010-02-14 13:41:25 phintuka Exp $
*
*/
@@ -106,6 +106,12 @@ static int64_t get_option(metronom_t *metronom, int option)
if (option == XVDR_METRONOM_LAST_VO_PTS) {
return this->last_vo_pts;
}
+ if (option == XVDR_METRONOM_TRICK_SPEED) {
+ return this->trickspeed;
+ }
+ if (option == XVDR_METRONOM_STILL_MODE) {
+ return this->still_mode;
+ }
return this->orig_metronom->get_option(this->orig_metronom, option);
}
diff --git a/xine/xvdr_metronom.h b/xine/xvdr_metronom.h
index a2f6b4e9..fd24d4c0 100644
--- a/xine/xvdr_metronom.h
+++ b/xine/xvdr_metronom.h
@@ -4,7 +4,7 @@
* See the main source file 'xineliboutput.c' for copyright information and
* how to reach the author.
*
- * $Id: xvdr_metronom.h,v 1.4 2010-02-14 13:40:23 phintuka Exp $
+ * $Id: xvdr_metronom.h,v 1.5 2010-02-14 13:41:25 phintuka Exp $
*
*/
@@ -13,6 +13,8 @@
#define XVDR_METRONOM_LAST_VO_PTS 0x1001
+#define XVDR_METRONOM_TRICK_SPEED 0x1002
+#define XVDR_METRONOM_STILL_MODE 0x1003
typedef struct xvdr_metronom_s xvdr_metronom_t;