diff options
author | Miguel Freitas <miguelfreitas@users.sourceforge.net> | 2002-05-21 22:16:14 +0000 |
---|---|---|
committer | Miguel Freitas <miguelfreitas@users.sourceforge.net> | 2002-05-21 22:16:14 +0000 |
commit | 527c7fc3929a2e90c048069c7f64f33fba152c9f (patch) | |
tree | f0700ffbf842962f66ff59f2594edac5b248ad42 | |
parent | 55b3044b0866913d8a08717c5c35ba5a3a5c0428 (diff) | |
download | xine-lib-527c7fc3929a2e90c048069c7f64f33fba152c9f.tar.gz xine-lib-527c7fc3929a2e90c048069c7f64f33fba152c9f.tar.bz2 |
i'm tired of people reporting "throwing away image..." as bugs.
btw: we must update faq to say that these messages are _usually_ an indication of
dma disabled on dvd/cdrom drive.
CVS patchset: 1927
CVS date: 2002/05/21 22:16:14
-rw-r--r-- | src/xine-engine/video_out.c | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/src/xine-engine/video_out.c b/src/xine-engine/video_out.c index c190e46e1..ca577c65a 100644 --- a/src/xine-engine/video_out.c +++ b/src/xine-engine/video_out.c @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * - * $Id: video_out.c,v 1.97 2002/05/18 12:36:03 miguelfreitas Exp $ + * $Id: video_out.c,v 1.98 2002/05/21 22:16:14 miguelfreitas Exp $ * * frame allocation / queuing / scheduling / output functions */ @@ -344,9 +344,14 @@ static void expire_frames (vos_t *this, int64_t cur_vpts) { diff = cur_vpts - pts; if (diff > img->duration) { - xine_log(this->xine, XINE_LOG_MSG, - _("video_out: throwing away image with pts %lld because " - "it's too old (diff : %lld).\n"), pts, diff); + + /* do not print this message in stop/exit (scr is adjusted to force + * discarding audio and video frames) + */ + if( diff < 20 * 90000 ) + xine_log(this->xine, XINE_LOG_MSG, + _("video_out: throwing away image with pts %lld because " + "it's too old (diff : %lld).\n"), pts, diff); this->num_frames_discarded++; |