diff options
author | phintuka <phintuka> | 2009-02-12 10:38:14 +0000 |
---|---|---|
committer | phintuka <phintuka> | 2009-02-12 10:38:14 +0000 |
commit | 395141a63c74048715caef47d26ddfef107bd74e (patch) | |
tree | 2a0e2bb940bfff18138354ccc4cf6e5e4622abd2 | |
parent | 82708191ea5b3354b566be66885124953828eeab (diff) | |
download | xineliboutput-395141a63c74048715caef47d26ddfef107bd74e.tar.gz xineliboutput-395141a63c74048715caef47d26ddfef107bd74e.tar.bz2 |
Reduced H.264 logging
-rw-r--r-- | xine_input_vdr.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/xine_input_vdr.c b/xine_input_vdr.c index 4e46bd52..49cc2523 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.138.2.13 2008-10-21 09:51:05 phintuka Exp $ + * $Id: xine_input_vdr.c,v 1.138.2.14 2009-02-12 10:38:14 phintuka Exp $ * */ @@ -5164,7 +5164,7 @@ buf_element_t *post_frame_h264(vdr_input_plugin_t *this, buf_element_t *buf) LOGMSG("H.264: post pts %"PRId64" diff %d", pts, (int)(pts-this->last_delivered_vid_pts)); vdr_x_demux_control_newpts (this->stream, pts, BUF_FLAG_SEEK); } - +#if 0 /* xine ffmpeg decoder does not handle pts <-> dts difference very well if P/B frames have pts */ if (abs(pts - this->last_delivered_vid_pts) < 90000 && pts < this->last_delivered_vid_pts) { LOGDBG("H.264: -> pts %"PRId64" <- 0", pts); @@ -5174,9 +5174,11 @@ buf_element_t *post_frame_h264(vdr_input_plugin_t *this, buf_element_t *buf) /*buf->pts = 0;*/ } else { LOGDBG("H.264: -> pts %"PRId64, pts); - buf->pts = pts; + buf->pts = pts; } - +#else + buf->pts = pts; +#endif this->last_delivered_vid_pts = pts; } |