diff options
| author | phintuka <phintuka> | 2006-06-11 15:50:47 +0000 |
|---|---|---|
| committer | phintuka <phintuka> | 2006-06-11 15:50:47 +0000 |
| commit | 0126a965c436d5ba95c82ed1b307c874887d7786 (patch) | |
| tree | 0ae6c588ba0baef427740061e563b7cca0bece76 /tools | |
| parent | 01a27e345d0ac781014d7fc651e60a6dc369220d (diff) | |
| download | xineliboutput-0126a965c436d5ba95c82ed1b307c874887d7786.tar.gz xineliboutput-0126a965c436d5ba95c82ed1b307c874887d7786.tar.bz2 | |
new version
Diffstat (limited to 'tools')
| -rw-r--r-- | tools/udp_pes_scheduler.c | 13 |
1 files changed, 10 insertions, 3 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*/) { |
