summaryrefslogtreecommitdiffstats
path: root/libvo/vo_xv.c
diff options
context:
space:
mode:
authorszabii <szabii@b3059339-0415-0410-9bf9-f77b7e298cf2>2001-04-24 11:30:57 +0000
committerszabii <szabii@b3059339-0415-0410-9bf9-f77b7e298cf2>2001-04-24 11:30:57 +0000
commiteb30258d0725589c3ff770e1d9d67a2905a98a81 (patch)
tree2ea68b10d302b679f4762de7a29cf77c0b956c23 /libvo/vo_xv.c
parentc2cdf91ec90c6d3ada7a234e75a4efa9035845b7 (diff)
downloadmpv-eb30258d0725589c3ff770e1d9d67a2905a98a81.tar.bz2
mpv-eb30258d0725589c3ff770e1d9d67a2905a98a81.tar.xz
fprintf(stderr converted to printf(
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@615 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libvo/vo_xv.c')
-rw-r--r--libvo/vo_xv.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/libvo/vo_xv.c b/libvo/vo_xv.c
index fd5a37d4a0..58aa6bf5a5 100644
--- a/libvo/vo_xv.c
+++ b/libvo/vo_xv.c
@@ -110,7 +110,7 @@ static uint32_t init(uint32_t width, uint32_t height, uint32_t d_width, uint32_t
if (mydisplay == NULL)
{
- fprintf(stderr,"Can't open display\n");
+ printf("Can't open display\n");
return -1;
}
@@ -155,7 +155,7 @@ static uint32_t init(uint32_t width, uint32_t height, uint32_t d_width, uint32_t
/* check for Xvideo support */
if (Success != XvQueryAdaptors(mydisplay,DefaultRootWindow(mydisplay), &adaptors,&ai))
{
- fprintf(stderr,"Xv: XvQueryAdaptors failed");
+ printf("Xv: XvQueryAdaptors failed");
return -1;
}
/* check adaptors */
@@ -170,7 +170,7 @@ static uint32_t init(uint32_t width, uint32_t height, uint32_t d_width, uint32_t
xv_format=0;
for(i = 0; i < formats; i++)
{
- fprintf(stderr, "Xvideo image format: 0x%x (%4.4s) %s\n", fo[i].id,(char*)&fo[i].id, (fo[i].format == XvPacked) ? "packed" : "planar");
+ printf("Xvideo image format: 0x%x (%4.4s) %s\n", fo[i].id,(char*)&fo[i].id, (fo[i].format == XvPacked) ? "packed" : "planar");
if (fo[i].id == format)
{
@@ -182,14 +182,14 @@ static uint32_t init(uint32_t width, uint32_t height, uint32_t d_width, uint32_t
if (xv_port != 0)
{
- fprintf( stderr,"using Xvideo port %d for hw scaling\n",xv_port );
+ printf( "using Xvideo port %d for hw scaling\n",xv_port );
allocate_xvimage(0);
XGetGeometry( mydisplay,mywindow,&mRoot,&drwX,&drwY,&drwWidth,&drwHeight,&drwBorderWidth,&drwDepth );
drwX=0; drwY=0;
XTranslateCoordinates( mydisplay,mywindow,mRoot,0,0,&drwcX,&drwcY,&mRoot );
- fprintf( stderr,"[xv] dcx: %d dcy: %d dx: %d dy: %d dw: %d dh: %d\n",drwcX,drwcY,drwX,drwY,drwWidth,drwHeight );
+ printf( "[xv] dcx: %d dcy: %d dx: %d dy: %d dw: %d dh: %d\n",drwcX,drwcY,drwX,drwY,drwWidth,drwHeight );
if ( mFullscreen )
{
@@ -199,7 +199,7 @@ static uint32_t init(uint32_t width, uint32_t height, uint32_t d_width, uint32_t
drwcY+=drwY;
drwWidth=(dwidth > vo_screenwidth?vo_screenwidth:dwidth);
drwHeight=(dheight > vo_screenheight?vo_screenheight:dheight);
- fprintf( stderr,"[xv-fs] dcx: %d dcy: %d dx: %d dy: %d dw: %d dh: %d\n",drwcX,drwcY,drwX,drwY,drwWidth,drwHeight );
+ printf( "[xv-fs] dcx: %d dcy: %d dx: %d dy: %d dw: %d dh: %d\n",drwcX,drwcY,drwX,drwY,drwWidth,drwHeight );
}
saver_off(mydisplay); // turning off screen saver
@@ -243,7 +243,7 @@ static void check_events(void)
XGetGeometry( mydisplay,mywindow,&mRoot,&drwX,&drwY,&drwWidth,&drwHeight,&drwBorderWidth,&drwDepth );
drwX=0; drwY=0;
XTranslateCoordinates( mydisplay,mywindow,mRoot,0,0,&drwcX,&drwcY,&mRoot );
- fprintf( stderr,"[xv] dcx: %d dcy: %d dx: %d dy: %d dw: %d dh: %d\n",drwcX,drwcY,drwX,drwY,drwWidth,drwHeight );
+ printf( "[xv] dcx: %d dcy: %d dx: %d dy: %d dw: %d dh: %d\n",drwcX,drwcY,drwX,drwY,drwWidth,drwHeight );
if ( mFullscreen )
{
@@ -253,7 +253,7 @@ static void check_events(void)
drwcY+=drwY;
drwWidth=(dwidth > vo_screenwidth?vo_screenwidth:dwidth);
drwHeight=(dheight > vo_screenheight?vo_screenheight:dheight);
- fprintf( stderr,"[xv-fs] dcx: %d dcy: %d dx: %d dy: %d dw: %d dh: %d\n",drwcX,drwcY,drwX,drwY,drwWidth,drwHeight );
+ printf( "[xv-fs] dcx: %d dcy: %d dx: %d dy: %d dw: %d dh: %d\n",drwcX,drwcY,drwX,drwY,drwWidth,drwHeight );
}
}
}