summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorphintuka <phintuka>2006-06-11 15:50:47 +0000
committerphintuka <phintuka>2006-06-11 15:50:47 +0000
commit0126a965c436d5ba95c82ed1b307c874887d7786 (patch)
tree0ae6c588ba0baef427740061e563b7cca0bece76
parent01a27e345d0ac781014d7fc651e60a6dc369220d (diff)
downloadxineliboutput-0126a965c436d5ba95c82ed1b307c874887d7786.tar.gz
xineliboutput-0126a965c436d5ba95c82ed1b307c874887d7786.tar.bz2
new version
-rw-r--r--tools/udp_pes_scheduler.c13
-rw-r--r--xineliboutput.c4
2 files changed, 12 insertions, 5 deletions
diff --git a/tools/udp_pes_scheduler.c b/tools/udp_pes_scheduler.c
index 61e37467..c5c435fb 100644
--- a/tools/udp_pes_scheduler.c
+++ b/tools/udp_pes_scheduler.c
@@ -4,7 +4,7 @@
* See the main source file 'xineliboutput.c' for copyright information and
* how to reach the author.
*
- * $Id: udp_pes_scheduler.c,v 1.2 2006-06-04 11:00:04 phintuka Exp $
+ * $Id: udp_pes_scheduler.c,v 1.3 2006-06-11 15:50:47 phintuka Exp $
*
*/
@@ -78,6 +78,13 @@ const int64_t INITIAL_BURST_TIME = (int64_t)(45000); // pts units (90kHz)
// assume seek when when pts difference between two frames exceeds this (1.5 seconds)
const int64_t JUMP_LIMIT_TIME = (int64_t)(3*90000/2); // pts units (90kHz)
+typedef enum {
+ eScrDetect,
+ eScrFromAudio,
+ eScrFromPS1,
+ eScrFromVideo
+} ScrSource_t;
+
cUdpScheduler::cUdpScheduler()
{
@@ -299,8 +306,8 @@ void cUdpScheduler::Schedule(const uchar *Data, int Length)
#ifdef LOG_SCR
if(elapsed > 0)
- LOGMSG("PTS: %lld (%s) elapsed %d ms",
- pts, Video?"Video":Audio?"Audio":"?", elapsed/90);
+ LOGMSG("PTS: %lld (%s) elapsed %d ms (PID %02x)",
+ pts, Video?"Video":Audio?"Audio":"?", elapsed/90, Data[3]);
#endif
if(elapsed > 0 && Audio/*Video*/) {
diff --git a/xineliboutput.c b/xineliboutput.c
index fd4bb9dc..64046dfa 100644
--- a/xineliboutput.c
+++ b/xineliboutput.c
@@ -21,7 +21,7 @@
*
* xineliboutput.c: VDR Plugin interface
*
- * $Id: xineliboutput.c,v 1.1 2006-06-03 09:44:41 phintuka Exp $
+ * $Id: xineliboutput.c,v 1.2 2006-06-11 15:50:47 phintuka Exp $
*
*/
@@ -43,7 +43,7 @@
//---------------------------------plugin-------------------------------------
-static const char *VERSION = "0.99rc4";
+static const char *VERSION = "0.99rc5";
static const char *DESCRIPTION = "X11/xine-lib output plugin";
static const char *MAINMENUENTRY = "Xine-lib";