summaryrefslogtreecommitdiff
path: root/src/xine-engine/video_out.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/xine-engine/video_out.c')
-rw-r--r--src/xine-engine/video_out.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/xine-engine/video_out.c b/src/xine-engine/video_out.c
index 7dea53123..356d39bce 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.157 2003/05/06 14:02:27 tchamp Exp $
+ * $Id: video_out.c,v 1.158 2003/05/06 20:50:12 miguelfreitas Exp $
*
* frame allocation / queuing / scheduling / output functions
*/
@@ -314,7 +314,7 @@ static int vo_frame_draw (vo_frame_t *img, xine_stream_t *stream) {
stream->metronom->got_video_frame (stream->metronom, img);
this->current_duration = img->duration;
- if (!this->grab_only && !img->bad_frame) {
+ if (!this->grab_only) {
pic_vpts = img->vpts;
img->extra_info->vpts = img->vpts;
@@ -333,7 +333,7 @@ static int vo_frame_draw (vo_frame_t *img, xine_stream_t *stream) {
/* avoid division by zero */
if( img->duration <= 0 )
img->duration = 3000;
- frames_to_skip = ((-1 * diff) / img->duration + 3) * 2;
+ frames_to_skip = ((-1 * diff) / img->duration + 2) * 2;
if (frames_to_skip<0)
frames_to_skip = 0;