summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorphintuka <phintuka>2011-02-13 14:21:55 +0000
committerphintuka <phintuka>2011-02-13 14:21:55 +0000
commitea7a7a25347d1e4a741fe648e4fce24b395581e3 (patch)
tree8d8fb611d96fc898b8ddfe9ced93aa04e7e9f02b
parent215b93e44c54514c49254a275da86701fe075e30 (diff)
downloadxineliboutput-ea7a7a25347d1e4a741fe648e4fce24b395581e3.tar.gz
xineliboutput-ea7a7a25347d1e4a741fe648e4fce24b395581e3.tar.bz2
Added a method to detect intercepted metronom
-rw-r--r--xine/xvdr_metronom.c5
-rw-r--r--xine/xvdr_metronom.h3
2 files changed, 6 insertions, 2 deletions
diff --git a/xine/xvdr_metronom.c b/xine/xvdr_metronom.c
index ac8babd2..8d230865 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.11 2010-03-21 10:44:24 phintuka Exp $
+ * $Id: xvdr_metronom.c,v 1.12 2011-02-13 14:21:55 phintuka Exp $
*
*/
@@ -112,6 +112,9 @@ static int64_t get_option(metronom_t *metronom, int option)
if (option == XVDR_METRONOM_STILL_MODE) {
return this->still_mode;
}
+ if (option == XVDR_METRONOM_ID) {
+ return XVDR_METRONOM_ID;
+ }
return this->orig_metronom->get_option(this->orig_metronom, option);
}
diff --git a/xine/xvdr_metronom.h b/xine/xvdr_metronom.h
index 487022ef..42badd70 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.6 2010-02-19 13:44:57 phintuka Exp $
+ * $Id: xvdr_metronom.h,v 1.7 2011-02-13 14:21:55 phintuka Exp $
*
*/
@@ -15,6 +15,7 @@
#define XVDR_METRONOM_LAST_VO_PTS 0x1001
#define XVDR_METRONOM_TRICK_SPEED 0x1002
#define XVDR_METRONOM_STILL_MODE 0x1003
+#define XVDR_METRONOM_ID 0x1004
typedef struct xvdr_metronom_s xvdr_metronom_t;