From: KAY R. <kom...@my...> - 2002-04-30 15:40:58
|
frame_output_cb in xine 0.9.9 sometimes loads win_x and win_y with zero (on startup and resize as far as I can tell). I can work around it with XTranslateCoordinates in my plugin but it's not ideal. On another note... are there any known problems with xine detecting superfluous still frames in MPEG-1 streams? I think that is what is happening becuase "possible still frame (old)" is displayed and then video stops. Pressing 'stop' then locks up xine. this->frame_output_cb(this->user_data, frame->width, frame->height, &this->dest_x, &this->dest_y, &this->dest_width, &this->dest_height, &this->win_x, &this->win_y); if ((this->win_x == 0) || (this->win_y == 0)) { Window temp_window; XLockDisplay(this->display); XTranslateCoordinates(this->display, this->drawable, this->root, 0, 0, &this->win_x, &this->win_y, &temp_window); XUnlockDisplay(this->display); } -- Wishing you good fortune, --Robin Kay-- (komadori) |