summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrofafor <rofafor>2011-12-10 11:01:35 +0000
committerrofafor <rofafor>2011-12-10 11:01:35 +0000
commit1be88a6ffe5c4066d92e954adb77db31ea26c2c6 (patch)
tree908562915b30958dda2ddd83b10a79b5eda87280
parentd7251d02384c4323b11abf80917cfd5b606f792b (diff)
downloadxineliboutput-1be88a6ffe5c4066d92e954adb77db31ea26c2c6.tar.gz
xineliboutput-1be88a6ffe5c4066d92e954adb77db31ea26c2c6.tar.bz2
PTS must also be updated while rewinding.
-rw-r--r--xine_input_vdr.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/xine_input_vdr.c b/xine_input_vdr.c
index 4ed4cb0a..238441b5 100644
--- a/xine_input_vdr.c
+++ b/xine_input_vdr.c
@@ -4,7 +4,7 @@
* See the main source file 'xineliboutput.c' for copyright information and
* how to reach the author.
*
- * $Id: xine_input_vdr.c,v 1.351 2011-12-10 10:56:03 rofafor Exp $
+ * $Id: xine_input_vdr.c,v 1.352 2011-12-10 11:01:35 rofafor Exp $
*
*/
@@ -136,7 +136,7 @@ typedef struct {
# include <linux/unistd.h> /* syscall(__NR_gettid) */
#endif
-static const char module_revision[] = "$Id: xine_input_vdr.c,v 1.351 2011-12-10 10:56:03 rofafor Exp $";
+static const char module_revision[] = "$Id: xine_input_vdr.c,v 1.352 2011-12-10 11:01:35 rofafor Exp $";
static const char log_module_input_vdr[] = "[input_vdr] ";
#define LOG_MODULENAME log_module_input_vdr
#define SysLogLevel iSysLogLevel
@@ -3416,9 +3416,7 @@ static int vdr_plugin_parse_control(vdr_input_plugin_if_t *this_if, const char *
} else if(!strncasecmp(cmd, "GETSTC", 6)) {
int64_t pts = -1;
- if (this->still_mode || this->is_trickspeed) {
- pts = stream->metronom->get_option(stream->metronom, XVDR_METRONOM_LAST_VO_PTS);
- }
+ pts = stream->metronom->get_option(stream->metronom, XVDR_METRONOM_LAST_VO_PTS);
if (pts <= 0) {
pts = xine_get_current_vpts(stream) -
stream->metronom->get_option(stream->metronom, METRONOM_VPTS_OFFSET);