summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorHeiko Schaefer <heikos@users.sourceforge.net>2001-06-11 01:27:03 +0000
committerHeiko Schaefer <heikos@users.sourceforge.net>2001-06-11 01:27:03 +0000
commitaf21b98c30cd9e15ffc416e366697a56c7b85bd9 (patch)
treedcedf342cee039d6f2ccb5f0e14733dbe2cc01c2 /src
parent0974e94d3f71d4cbc12cde23cc7ebe122993405a (diff)
downloadxine-lib-af21b98c30cd9e15ffc416e366697a56c7b85bd9.tar.gz
xine-lib-af21b98c30cd9e15ffc416e366697a56c7b85bd9.tar.bz2
report statistics to stderr
CVS patchset: 161 CVS date: 2001/06/11 01:27:03
Diffstat (limited to 'src')
-rw-r--r--src/xine-engine/video_out.c15
1 files changed, 9 insertions, 6 deletions
diff --git a/src/xine-engine/video_out.c b/src/xine-engine/video_out.c
index 833446e7d..6ae8b7bc0 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.15 2001/06/10 01:26:46 guenter Exp $
+ * $Id: video_out.c,v 1.16 2001/06/11 01:27:03 heikos Exp $
*
*/
@@ -186,9 +186,12 @@ static void *video_out_loop (void *this_gen) {
"it's too old (diff : %d > %d).\n",pts,diff,
this->pts_per_half_frame);
*/
- printf ("video_out : throwing away image with pts %d because "
- "it's too old (diff : %d > %d).\n",pts,diff,
- this->pts_per_half_frame);
+
+ fprintf (stderr,
+ "video_out : throwing away image with pts %d because "
+ "it's too old (diff : %d > %d).\n",pts,diff,
+ this->pts_per_half_frame);
+
this->num_frames_discarded++;
img = vo_remove_from_img_buf_queue (this->display_img_buf_queue);
@@ -392,7 +395,6 @@ static int vo_frame_draw (vo_frame_t *img) {
this->num_frames_discarded++;
xprintf (VERBOSE|VIDEO, "vo_frame_draw: rejected, %d frames to skip\n", frames_to_skip);
- printf ("vo_frame_draw: rejected, %d frames to skip\n", frames_to_skip);
return frames_to_skip;
@@ -420,7 +422,8 @@ static int vo_frame_draw (vo_frame_t *img) {
*/
if (this->num_frames_delivered>199) {
- printf ("%d frames delivered, %d frames skipped, %d frames discarded\n",
+ fprintf (stderr,
+ "%d frames delivered, %d frames skipped, %d frames discarded\n",
this->num_frames_delivered, this->num_frames_skipped, this->num_frames_discarded);
this->num_frames_delivered = 0;