"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/xitk/videowin.c" between
xine-ui-0.99.13.tar.bz2 and xine-ui-0.99.14.tar.bz2

About: xine is a free video player which plays mpeg-2 and mpeg-1 video, DVDs (unlocked/unencrypted only), video CDs, SVCDs, and AVI files (using Win32 codecs) with synchronized audio and video, and optionally fullscreen using the Xv extensions in Xfree86 4.x (user interface).

videowin.c  (xine-ui-0.99.13.tar.bz2):videowin.c  (xine-ui-0.99.14.tar.bz2)
skipping to change at line 1894 skipping to change at line 1894
if (vwin->video_be_display->reset_screen_saver) if (vwin->video_be_display->reset_screen_saver)
idle = vwin->video_be_display->reset_screen_saver(vwin->video_be_display, vwin->gui->ssaver_timeout); idle = vwin->video_be_display->reset_screen_saver(vwin->video_be_display, vwin->gui->ssaver_timeout);
} else { } else {
idle = xitk_reset_screen_saver(vwin->xitk, vwin->gui->ssaver_timeout); idle = xitk_reset_screen_saver(vwin->xitk, vwin->gui->ssaver_timeout);
} }
return idle; return idle;
} }
void video_window_get_frame_size (xui_vwin_t *vwin, int *w, int *h) { void video_window_get_frame_size (xui_vwin_t *vwin, int *w, int *h) {
if (!vwin) if (!vwin) {
if(w)
*w = 0;
if(h)
*h = 0;
return; return;
}
if(w) if(w)
*w = vwin->frame_width; *w = vwin->frame_width;
if(h) if(h)
*h = vwin->frame_height; *h = vwin->frame_height;
if (!vwin->frame_width && !vwin->frame_height) { if (!vwin->frame_width && !vwin->frame_height) {
/* fall back to meta info */ /* fall back to meta info */
if (w) { if (w) {
*w = xine_get_stream_info (vwin->gui->stream, XINE_STREAM_INFO_VIDEO_WIDTH ); *w = xine_get_stream_info (vwin->gui->stream, XINE_STREAM_INFO_VIDEO_WIDTH );
} }
if (h) { if (h) {
*h = xine_get_stream_info (vwin->gui->stream, XINE_STREAM_INFO_VIDEO_HEIGH T); *h = xine_get_stream_info (vwin->gui->stream, XINE_STREAM_INFO_VIDEO_HEIGH T);
} }
} }
} }
void video_window_get_visible_size (xui_vwin_t *vwin, int *w, int *h) { void video_window_get_visible_size (xui_vwin_t *vwin, int *w, int *h) {
if (!vwin)
return;
if(w) if(w)
*w = vwin->visible_width; *w = vwin ? vwin->visible_width : 0;
if(h) if(h)
*h = vwin->visible_height; *h = vwin ? vwin->visible_height : 0;
} }
void video_window_get_output_size (xui_vwin_t *vwin, int *w, int *h) { void video_window_get_output_size (xui_vwin_t *vwin, int *w, int *h) {
if (w) if (w)
*w = vwin ? vwin->output_width : 0; *w = vwin ? vwin->output_width : 0;
if (h) if (h)
*h = vwin ? vwin->output_height : 0; *h = vwin ? vwin->output_height : 0;
} }
void video_window_get_window_size (xui_vwin_t *vwin, int *window_width, int *win dow_height) { void video_window_get_window_size (xui_vwin_t *vwin, int *window_width, int *win dow_height) {
 End of changes. 5 change blocks. 
5 lines changed or deleted 8 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)