changeset 33239:6cb191a2cc1a

Pass through correct-pts setting from video sub demuxer.
author reimar
date Mon, 25 Apr 2011 09:28:38 +0000
parents b09a5d9ff050
children 1ff13ad1bc59
files libmpdemux/demux_demuxers.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/libmpdemux/demux_demuxers.c	Sun Apr 24 23:27:24 2011 +0000
+++ b/libmpdemux/demux_demuxers.c	Mon Apr 25 09:28:38 2011 +0000
@@ -159,6 +159,8 @@
     case DEMUXER_CTRL_GET_PERCENT_POS:
       *((int *)arg) = demuxer_get_percent_pos(priv->vd);
       return DEMUXER_CTRL_OK;
+    case DEMUXER_CTRL_CORRECT_PTS:
+      return demux_control(priv->vd, DEMUXER_CTRL_CORRECT_PTS, NULL);
   }
   return DEMUXER_CTRL_NOTIMPL;
 }